Skip to content

Commit 98e2a55

Browse files
authored
Update clocking.test.js
1 parent 236dd0e commit 98e2a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/clocking.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test('Launch Electron app, select device, toggle ACPU power, click Clocking, Add
4141
await new Promise((resolve) => setTimeout(resolve, 1000)); // Wait for 1 second
4242

4343
// Clicking OK to submit the form
44-
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-apn68.ant-btn-primary.ant-btn-color-primary.ant-btn-variant-solid';
44+
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-vryruh.ant-btn-primary.ant-btn-color-primary.ant-btn-variant-solid';
4545
const okButton = await window.waitForSelector(okButtonSelector);
4646
await okButton.click();
4747

0 commit comments

Comments
 (0)