fix polling presentation test

This commit is contained in:
Gabriel Porfirio 2024-01-31 13:39:51 -03:00
parent ed4bb8d15e
commit 58b4ad5e89
7 changed files with 6 additions and 6 deletions

View File

@ -468,7 +468,7 @@ exports.wbStickyNoteShape = 'button[data-testid="tools.note"]';
exports.wbTextShape = 'button[data-testid="tools.text"]';
exports.wbTypedText = 'div[data-shape="text"]';
exports.wbTypedStickyNote = 'div[data-shape="sticky"]';
exports.wbDrawnRectangle = 'div[data-shape="rectangle"]';
exports.wbDrawnRectangle = 'div[data-shape-type="geo"]';
exports.wbDrawnLine = 'div[data-shape="draw"]';
exports.multiUsersWhiteboardOn = 'button[data-test="turnMultiUsersWhiteboardOn"]';
exports.multiUsersWhiteboardOff = 'button[data-test="turnMultiUsersWhiteboardOff"]';

View File

@ -63,7 +63,7 @@ class Polling extends MultiUsers {
await this.modPage.waitAndClick(e.publishPollingLabel);
await this.modPage.waitForSelector(e.restartPoll);
await this.modPage.hasElement(e.wbDrawnRectangle);
await this.modPage.hasElement(e.wbDrawnRectangle, ELEMENT_WAIT_LONGER_TIME);
await this.userPage.hasElement(e.wbDrawnRectangle);
await this.modPage.waitAndClick(e.closePollingBtn);

View File

@ -20,11 +20,11 @@ test.describe('Polling', async () => {
await polling.pollAnonymous();
});
test('Create quick poll - from the slide @ci @flaky', async () => {
test.only('Create quick poll - from the slide @ci', async () => {
await polling.quickPoll();
});
test('Create poll with user response @ci @flaky', async () => {
test.only('Create poll with user response @ci @flaky', async () => {
await polling.pollUserResponse();
});
@ -40,7 +40,7 @@ test.describe('Polling', async () => {
await polling.notAbleStartNewPollWithoutPresentation();
});
test('Custom input @ci @flaky', async () => {
test.only('Custom input @ci @flaky', async () => {
await polling.customInput();
});

View File

@ -59,7 +59,7 @@ test.describe.parallel('Presentation', () => {
await presentation.hidePresentationToolbar();
});
test('Zoom In, Zoom Out, Reset Zoom @ci @flaky', async ({ browser, context, page }) => {
test('Zoom In, Zoom Out, Reset Zoom @ci', async ({ browser, context, page }) => {
const presentation = new Presentation(browser, context);
await presentation.initPages(page);
await presentation.zoom();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 61 KiB