Skip to content

Commit 6e452e3

Browse files
authored
Update clocking.test.js
1 parent 67d3493 commit 6e452e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/e2e/clocking.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ test('Launch Electron app, select device, toggle ACPU power, click Clocking, Add
3434
await portSignalInput.fill('test');
3535

3636
// Clicking OK to submit the form
37-
const okButtonSelector = 'body > div:nth-child(3) > div > div.ant-modal-wrap > div > div:nth-child(1) > div > div.ant-modal-footer > button.ant-btn.css-dev-only-do-not-override-49qm.ant-btn-primary.ant-btn-color-primary.ant-btn-variant-solid > span';
38-
const okButton = await window.waitForSelector(okButtonSelector);
37+
const okButtonSelector = 'body > div:nth-child(3) > div > div.ant-modal-wrap > div > div:nth-child(1) > div > div.ant-modal-footer > button.ant-btn.css-dev-only-do-not-override-49qm.ant-btn-primary.ant-btn-color-primary.ant-btn-variant-solid';
3938
await okButton.click();
4039

4140
// Closing the test

0 commit comments

Comments
 (0)