Skip to content

Commit aa25a43

Browse files
committed
Fix failing tests due to incorrect seletor.
1 parent 4ba4c55 commit aa25a43

7 files changed

Lines changed: 241 additions & 227 deletions

File tree

src/features/ProgramManagementLocationBreeder.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@debug
21
Feature: Program Location Management
32

43
Background: Required Setup

src/features/SmokeTests.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@debug
21
Feature: Smoke Tests (11)
32

43
@BI-804

src/features/UserManagementBreeder.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@debug
21
Feature: Breeder User Management
32

43
Scenario: User Program Welcome Page

src/features/UserManagementSysAd.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@debug
21
Feature: System User Management (15)
32

43
Background: Sysad logs in

src/page_objects/systemAdministrationPage.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ module.exports = {
7676

7777
clickSaveProgram: async function () {
7878
await this.getProgramValues();
79-
await this.browser.page.page().section.programForm.click("@saveButton");
80-
await this.browser.page.page().pause(5000);
79+
await this.click("@saveControl");
80+
return this.pause(5000);
8181
},
8282

8383
getProgramValues: async function () {
@@ -130,6 +130,7 @@ module.exports = {
130130
});
131131
browser.globals.program.Key = programKey;
132132
}
133+
// return this;
133134
},
134135
}
135136
],

0 commit comments

Comments
 (0)