mirror of
https://github.com/MeshTender/MeshTender.git
synced 2026-10-24 05:53:01 +00:00
Fix broken test
This commit is contained in:
1 parent
0ee6dcf803
commit
5b71c42277
1 file changed
+3
-1
@@ -64,7 +64,9 @@ func TestE2EShareOrgLimitsModal(t *testing.T) {
|
||||
chromedp.WaitVisible(`#limits-modal-content [data-check-scope]`, chromedp.ByQuery),
|
||||
chromedp.Evaluate(countChecked, &initial),
|
||||
// Default is permissive: everything checked. Uncheck only the first section.
|
||||
chromedp.Click(`#limits-modal-content [data-check-scope]:first-of-type [data-check-none]`, chromedp.ByQuery),
|
||||
// ByQuery = querySelector, so this is the first scope's Select-none button
|
||||
// (document order), regardless of sibling element types before the cards.
|
||||
chromedp.Click(`#limits-modal-content [data-check-scope] [data-check-none]`, chromedp.ByQuery),
|
||||
chromedp.Evaluate(countChecked, &afterNone),
|
||||
); err != nil {
|
||||
t.Fatalf("browser run against %s: %v", shareURL, err)
|
||||
|
||||
Reference in new issue
Block a user