-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
74 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ core | |
build | ||
.DS_Store | ||
public | ||
.DS_Store |
Binary file not shown.
Binary file removed
BIN
-176 KB
..._/Blocks resolution=ipad-2 anonymous Path-0004=+block+search-block visit #0.png
Binary file not shown.
Binary file removed
BIN
-118 KB
...Blocks resolution=iphone-8 anonymous Path-0004=+block+search-block visit #0.png
Binary file not shown.
Binary file removed
BIN
-194 KB
...ocks resolution=macbook-13 anonymous Path-0004=+block+search-block visit #0.png
Binary file not shown.
Binary file removed
BIN
-111 KB
...ng resolution=ipad-2 anonymous Path-0000=+block+grid-block+listing visit #0.png
Binary file not shown.
Binary file removed
BIN
-119 KB
... resolution=iphone-8 anonymous Path-0000=+block+grid-block+listing visit #0.png
Binary file not shown.
Binary file removed
BIN
-220 KB
...esolution=macbook-13 anonymous Path-0000=+block+grid-block+listing visit #0.png
Binary file not shown.
Binary file removed
BIN
-153 KB
...ution=macbook-13 authenticated Path-0000=+block+grid-block+listing visit #0.png
Binary file not shown.
Binary file removed
BIN
-180 KB
...esolution=macbook-16 anonymous Path-0000=+block+grid-block+listing visit #0.png
Binary file not shown.
Binary file removed
BIN
-367 KB
...ution=macbook-16 authenticated Path-0000=+block+grid-block+listing visit #0.png
Binary file not shown.
Binary file added
BIN
+317 KB
.../Blocks-Listings-Search resolution=ipad-2 anonymous Grid - Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+705 KB
...shots__/Blocks-Listings-Search resolution=ipad-2 anonymous Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.68 MB
...pshots__/Blocks-Listings-Search resolution=ipad-2 anonymous Search Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+318 KB
...locks-Listings-Search resolution=iphone-8 anonymous Grid - Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+405 KB
...ots__/Blocks-Listings-Search resolution=iphone-8 anonymous Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+677 KB
...hots__/Blocks-Listings-Search resolution=iphone-8 anonymous Search Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+274 KB
...cks-Listings-Search resolution=macbook-13 anonymous Grid - Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.28 MB
...s__/Blocks-Listings-Search resolution=macbook-13 anonymous Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+543 KB
...ts__/Blocks-Listings-Search resolution=macbook-13 anonymous Search Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+287 KB
...cks-Listings-Search resolution=macbook-16 anonymous Grid - Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.07 MB
...s__/Blocks-Listings-Search resolution=macbook-16 anonymous Listing Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+560 KB
...ts__/Blocks-Listings-Search resolution=macbook-16 anonymous Search Block #0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import path from 'path'; | ||
import describeWithResolutions from '../../support/describe-with-resolutions'; | ||
import describeWithPaths from '../../support/visual/describe-with-paths'; | ||
import rangeFilter from '../../support/visual/range-filter'; | ||
import hasItPassed from '../../support/visual/has-it-passed'; | ||
import { skipOn } from '@cypress/skip-test'; | ||
|
||
beforeEach(function () { | ||
skipOn(hasItPassed('cypress' + path.resolve(__filename), this.currentTest)); | ||
}); | ||
|
||
describe('Blocks-Listings-Search', () => | ||
describeWithResolutions(undefined, (setViewport, title, resolution) => { | ||
describe(`anonymous`, () => { | ||
beforeEach(() => { | ||
cy.intercept('GET', `/**/*?expand*`).as('content'); | ||
cy.visit('/'); | ||
cy.wait('@content'); | ||
setViewport(cy); | ||
}); | ||
|
||
// it('Listing Block', function () { | ||
// cy.intercept('GET', `/**/@querystring-search*`).as( | ||
// 'querystring-search', | ||
// ); | ||
// cy.navigate('/block/listing-block'); | ||
// cy.wait([ | ||
// '@querystring-search', | ||
// '@querystring-search', | ||
// '@querystring-search', | ||
// '@querystring-search', | ||
// ]); | ||
// cy.matchImage(); | ||
// }); | ||
|
||
it('Search Block', function () { | ||
cy.intercept('GET', `/**/@querystring-search*`).as( | ||
'querystring-search', | ||
); | ||
cy.navigate('/block/search-block'); | ||
cy.wait(['@querystring-search', '@querystring-search']); | ||
cy.matchImage(); | ||
}); | ||
|
||
it('Grid - Listing Block', function () { | ||
cy.intercept('GET', `/**/@querystring-search*`).as( | ||
'querystring-search', | ||
); | ||
cy.navigate('/block/grid-block/listing'); | ||
cy.wait(['@querystring-search', '@querystring-search']); | ||
cy.matchImage(); | ||
}); | ||
}); | ||
|
||
describe(`authenticated`, () => { | ||
if (['ipad-2', 'iphone-8'].includes(resolution)) { | ||
// Skip the link list test for smaller resolutions | ||
return; | ||
} | ||
|
||
beforeEach(() => { | ||
cy.autologin('admin', 'admin'); | ||
cy.intercept('GET', `/**/*?expand*`).as('content'); | ||
cy.visit('/'); | ||
cy.wait('@content'); | ||
setViewport(cy); | ||
}); | ||
|
||
// it('home page', function () { | ||
// cy.matchImage(); | ||
// }); | ||
}); | ||
})); |
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