-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): new load data page (#19351)
* Revert "Revert "feat(ui): redesign load data page (#19246)" (#19336)" This reverts commit 0111f02. * fix: guard against no tokens or buckets * fix: typo * refactor: name sources page titles properly * fix: avoid referencing image asset inline
- Loading branch information
1 parent
3a8f3e4
commit ebf41ec
Showing
460 changed files
with
61,723 additions
and
2,928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
describe('Load Data Sources', () => { | ||
beforeEach(() => { | ||
cy.flush() | ||
|
||
cy.signin().then(({body}) => { | ||
const { | ||
org: {id}, | ||
} = body | ||
cy.wrap(body.org).as('org') | ||
|
||
cy.fixture('routes').then(({orgs}) => { | ||
cy.visit(`${orgs}/${id}/load-data/sources`) | ||
}) | ||
}) | ||
}) | ||
|
||
it('navigate to Client Library details view and render it with essentials', () => { | ||
cy.getByTestID('write-data--section client-libraries').within(() => { | ||
cy.getByTestID('square-grid').within(() => { | ||
cy.getByTestIDSubStr('load-data-item') | ||
.first() | ||
.click() | ||
}) | ||
}) | ||
|
||
const contentContainer = cy.getByTestID('load-data-details-content') | ||
contentContainer.should('exist') | ||
contentContainer.children().should('exist') | ||
|
||
const logoElement = cy.getByTestID('load-data-details-thumb') | ||
logoElement.should('exist') | ||
}) | ||
|
||
it('navigate to Telegraf Plugin details view and render it with essentials', () => { | ||
cy.getByTestID('write-data--section telegraf-plugins').within(() => { | ||
cy.getByTestID('square-grid').within(() => { | ||
cy.getByTestIDSubStr('load-data-item') | ||
.first() | ||
.click() | ||
}) | ||
}) | ||
|
||
const contentContainer = cy.getByTestID('load-data-details-content') | ||
contentContainer.should('exist') | ||
contentContainer.children().should('exist') | ||
|
||
const logoElement = cy.getByTestID('load-data-details-thumb') | ||
logoElement.should('exist') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.