Skip to content

Commit

Permalink
test(update): fix files upload and context menu test
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Feb 23, 2024
1 parent 640fd44 commit f3b4b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/screenobjects/files/FilesScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ export default class FilesScreen extends UplinkMainScreen {
}

async waitForFileUploadToComplete(timeout: number = 60000) {
await this.uploadProgressBar.waitForExist({
await this.uploadProgressBarContainer.waitForExist({
reverse: true,
timeout: timeout,
});
Expand Down
9 changes: 1 addition & 8 deletions tests/specs/13-settings-developer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,9 @@ export default async function settingsDeveloperTests() {
await expect(saveLogsStatus).toEqual("0");
});

// Test skipped since it fails on Windows CI
xit("Settings Developer - Enable Developer Mode", async () => {
it("Settings Developer - Enable Developer Mode", async () => {
// Click on DEVELOPER MODE switch to activate the option
await settingsDeveloper.clickOnDeveloperMode();

// Validate that switch has now value = '1' (active)
const toggleElement = await settingsDeveloper.developerModeControllerValue;
const developerModeStatus =
await settingsDeveloper.getToggleState(toggleElement);
await expect(developerModeStatus).toEqual("1");
});

// Test skipped since it fails on Windows CI
Expand Down

0 comments on commit f3b4b7f

Please sign in to comment.