Skip to content

Commit caae8ce

Browse files
committed
Paritally revert "Fix tests"
This partially reverts commit 11cc1c9. (New version of Vuetify has undone some of these changes)
1 parent bf4a132 commit caae8ce

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/e2e/specs/analysis.cy.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ describe('Analysis view', () => {
4646
.should('be.empty')
4747
cy
4848
.get('input#c-analysis-filter-task-platforms')
49-
.should('have.value', 'All')
49+
.should('have.value', '-1')
5050
cy
5151
.get('input#c-analysis-filter-task-timings')
52-
.should('have.value', 'Total times')
52+
.should('have.value', 'totalTimes')
5353
})
5454

5555
it('Should filter by task name', () => {
@@ -507,7 +507,7 @@ describe('Filters and Options save state', () => {
507507
cy.get('.c-table .v-data-table-footer__items-per-page .v-select')
508508
.as('itemsPerPage')
509509
.find('input')
510-
.should('not.have.value', 'All')
510+
.should('not.have.value', -1)
511511
.get('@itemsPerPage')
512512
.click()
513513
.get('[role="listbox"] .v-list-item')
@@ -516,7 +516,7 @@ describe('Filters and Options save state', () => {
516516
// Wait for menu to close
517517
.should('not.exist')
518518
.get('@itemsPerPage').find('input')
519-
.should('have.value', 'All')
519+
.should('have.value', -1)
520520
// Navigate away
521521
cy.visit('/#/')
522522
.get('.c-dashboard')
@@ -525,7 +525,7 @@ describe('Filters and Options save state', () => {
525525
cy.get('@platformCol')
526526
.should('have.class', sortedClass)
527527
cy.get('@itemsPerPage').find('input')
528-
.should('have.value', 'All')
528+
.should('have.value', -1)
529529
})
530530

531531
it('remembers box and whisker sorting options when switching between workflows', () => {

tests/e2e/specs/table.cy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ describe('State saving', () => {
223223
cy.get('.c-table .v-data-table-footer__items-per-page .v-select')
224224
.as('itemsPerPage')
225225
.find('input')
226-
.should('not.have.value', 'All')
226+
.should('not.have.value', -1)
227227
.get('@itemsPerPage')
228228
.click()
229229
.get('[role="listbox"] .v-list-item')
@@ -232,7 +232,7 @@ describe('State saving', () => {
232232
// Wait for menu to close
233233
.should('not.exist')
234234
.get('@itemsPerPage').find('input')
235-
.should('have.value', 'All')
235+
.should('have.value', -1)
236236
// Navigate away
237237
cy.visit('/#/')
238238
.get('.c-dashboard')
@@ -241,7 +241,7 @@ describe('State saving', () => {
241241
cy.get('@platformCol')
242242
.should('have.class', sortedClass)
243243
cy.get('@itemsPerPage').find('input')
244-
.should('have.value', 'All')
244+
.should('have.value', -1)
245245
})
246246

247247
describe('Flow nums', () => {

0 commit comments

Comments
 (0)