|
1 | 1 | import {Organization} from '../../../src/types' |
2 | 2 | import {points} from '../../support/commands' |
3 | 3 |
|
4 | | -describe.skip('simple table interactions', () => { |
| 4 | +describe('simple table interactions', () => { |
5 | 5 | const simpleSmall = 'simple-small' |
6 | 6 | const simpleLarge = 'simple-large' |
7 | 7 | const simpleOverflow = 'simple-overflow' |
8 | 8 | beforeEach(() => { |
9 | 9 | cy.flush() |
10 | 10 | cy.signin() |
11 | | - cy.get('@org').then(({id: orgID}: Organization) => { |
12 | | - cy.fixture('routes').then(({orgs, explorer}) => { |
13 | | - cy.visit(`${orgs}/${orgID}${explorer}`) |
| 11 | + cy.setFeatureFlags({ |
| 12 | + showOldDataExplorerInNewIOx: true, |
| 13 | + }).then(() => |
| 14 | + cy.get('@org').then(({id: orgID}: Organization) => { |
| 15 | + cy.fixture('routes').then(({orgs, explorer}) => { |
| 16 | + cy.visit(`${orgs}/${orgID}${explorer}`) |
| 17 | + }) |
| 18 | + cy.getByTestID('tree-nav') |
| 19 | + cy.createBucket(orgID, name, simpleLarge) |
| 20 | + cy.writeData(points(300), simpleLarge) |
| 21 | + cy.createBucket(orgID, name, simpleSmall) |
| 22 | + cy.writeData(points(30), simpleSmall) |
| 23 | + cy.createBucket(orgID, name, simpleOverflow) |
| 24 | + cy.writeData(points(31), simpleOverflow) |
| 25 | + cy.reload() |
14 | 26 | }) |
15 | | - cy.getByTestID('tree-nav') |
16 | | - cy.createBucket(orgID, name, simpleLarge) |
17 | | - cy.writeData(points(300), simpleLarge) |
18 | | - cy.createBucket(orgID, name, simpleSmall) |
19 | | - cy.writeData(points(30), simpleSmall) |
20 | | - cy.createBucket(orgID, name, simpleOverflow) |
21 | | - cy.writeData(points(31), simpleOverflow) |
22 | | - cy.reload() |
23 | | - }) |
| 27 | + ) |
24 | 28 | }) |
25 | 29 |
|
26 | 30 | it('should render correctly after switching from a dataset with more pages to one with fewer', () => { |
|
0 commit comments