-
Notifications
You must be signed in to change notification settings - Fork 975
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11528 +/- ##
==========================================
+ Coverage 53.38% 53.4% +0.02%
==========================================
Files 274 274
Lines 26020 26034 +14
Branches 4170 4172 +2
==========================================
+ Hits 13891 13904 +13
- Misses 12129 12130 +1
|
@@ -55,7 +55,7 @@ describe('bookmarksToolbar', function () { | |||
.waitForVisible('[data-test-id="bookmarkToolbarButton"][title=demo1]') | |||
.click(bookmarksToolbar) | |||
.click('[data-test-id="bookmarkToolbarButton"][title=demo1]') | |||
.waitForVisible('.contextMenuItemText[data-l10n-id=emptyFolderItem]') | |||
.waitForVisible('[data-test-id="contextMenuItemText"][data-l10n-id=emptyFolderItem]') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we maybe use variables here as well?
Like: .waitForVisible(``${contextMenuItemText}[data-l10n-id=emptyFolderItem]``)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Locally I've replaced al CSS and l10n selectors (#8735) and that will be addressed with / after it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure that I follow. What I was suggesting is that we use variable, so that if data-test-id is changed we can only change variable and everything will work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what I'm saying is that we will replace the variables all together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened an issue for that task: #11574
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++++++++++++++
Closes #11354
Auditors: @cezaraugusto
Test Plan:
npm run test -- --grep='ContextMenu'
npm run test -- --grep='bookmarksToolbar'
npm run test -- --grep='tab tests'
For QA team:
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
Tests