Commit 0d5d93e
committed
Fix cypress index test broken by the sidebar truncate wrapper (#484)
packages/cli/cypress/e2e/index.cy.js had the same brittle
cy.contains("preview")/("Emails") assertions that #508 fixed in the e2e
copy, but this repo-level copy was missed — so #484's truncate <div> made
cy.contains match the wrapper (no role/aria-expanded) and the "cypress"
workflow failed. Scope to cy.contains('[role="treeitem"]', ...) like #508.
Also drop a stray unused `require("typescript")` at the top of the file.1 parent 0aa9c55 commit 0d5d93e
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments