mirror of
https://github.com/discourse/discourse.git
synced 2025-01-21 22:01:02 +08:00
DEV: Fix ember/require-valid-css-selector-in-test-helpers
(#24011)
This commit is contained in:
parent
23af6c23d0
commit
754d13f5fa
|
@ -54,7 +54,7 @@ acceptance("User Preferences - Second Factor Backup", function (needs) {
|
|||
await click(".second-factor-backup-edit-modal .modal-close");
|
||||
|
||||
await click(".two-factor-backup-dropdown .select-kit-header");
|
||||
await click("li[data-name='Disable'");
|
||||
await click("li[data-name='Disable']");
|
||||
assert.strictEqual(
|
||||
query("#dialog-title").innerText.trim(),
|
||||
"Deleting backup codes"
|
||||
|
|
|
@ -128,7 +128,7 @@ acceptance("User Preferences - Second Factor", function (needs) {
|
|||
);
|
||||
|
||||
await click(".security-key-dropdown .select-kit-header");
|
||||
await click("li[data-name='Disable'");
|
||||
await click("li[data-name='Disable']");
|
||||
|
||||
assert.strictEqual(
|
||||
query("#dialog-title").innerText.trim(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user