mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
remove E2E dependency to rendered photo (server might be slow)
This commit is contained in:
parent
c78dc6f350
commit
677f7b7856
@ -39,7 +39,7 @@ describe('Gallery', () => {
|
||||
it('Gallery should show infobar over photo', () => {
|
||||
cy.wait('@getContent');
|
||||
// contains a folder
|
||||
cy.get(':nth-child(1) > .button > .photo-container');
|
||||
cy.get('app-gallery-directories.directories > app-gallery-directory > .button > .photo-container');
|
||||
|
||||
|
||||
for (let i = 0; i < 5; ++i) {
|
||||
@ -56,10 +56,10 @@ describe('Gallery', () => {
|
||||
cy.get('.photo-container > .info > .photo-keywords a').contains('Alvin the Squirrel');
|
||||
cy.get('.photo-container > .info > .photo-keywords a').contains('USA');
|
||||
});
|
||||
it('Gallery should open ligthbox', () => {
|
||||
it('Gallery should open lightbox', () => {
|
||||
cy.wait('@getContent');
|
||||
// contains a folder
|
||||
cy.get(':nth-child(1) > .button > .photo-container');
|
||||
cy.get('app-gallery-directories.directories > app-gallery-directory > .button > .photo-container');
|
||||
|
||||
|
||||
for (let i = 0; i < 5; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user