mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix ember/require-valid-css-selector-in-test-helpers (#24011)
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user