mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-24 03:00:05 +00:00
Test that the right panel opens when when the chart opens
This commit is contained in:
parent
9fd9a5822a
commit
a886230305
@ -2,12 +2,18 @@ describe('Chart view', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/view?handleCors=false&url=https%3A%2F%2Fraw.githubusercontent.com%2FPeWu%2Ftopola%2Fmaster%2Fdemo%2Fdata%2Ffamily.ged');
|
||||
});
|
||||
|
||||
it('loads data from URL', () => {
|
||||
cy.contains('Bonifacy');
|
||||
});
|
||||
|
||||
it('Animates chart', () => {
|
||||
cy.contains('Chike').should('not.exist');
|
||||
cy.contains('Radobod').click({force: true});
|
||||
cy.contains('Chike');
|
||||
});
|
||||
|
||||
it('shows the right panel', () => {
|
||||
cy.contains('a random note');
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user