-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic E2E Cypress Tests #18
Merged
Merged
Commits on Jun 25, 2019
-
- basic e2e tests for main home page - working on adding TS support and imports
Configuration menu - View commit details
-
Copy full SHA for 92b84a6 - Browse repository at this point
Copy the full SHA 92b84a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 241a5af - Browse repository at this point
Copy the full SHA 241a5afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e68528 - Browse repository at this point
Copy the full SHA 2e68528View commit details -
- fixing online issues - replaced http-server with spa-http-server that has push-state for fallback 404 routing since routing is done in SPA not backend - added a response fixture to the limits users test in Cart because we need images for the elements to have dimension
Configuration menu - View commit details
-
Copy full SHA for 313f325 - Browse repository at this point
Copy the full SHA 313f325View commit details -
Merge branch 'ml-basic-e2e-tests' of github.com:mrWh1te/ngLibrary int…
…o ml-basic-e2e-tests
Configuration menu - View commit details
-
Copy full SHA for 9ce2cc8 - Browse repository at this point
Copy the full SHA 9ce2cc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 648984d - Browse repository at this point
Copy the full SHA 648984dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0392e7 - Browse repository at this point
Copy the full SHA d0392e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a040060 - Browse repository at this point
Copy the full SHA a040060View commit details -
- min width & height on book to try to fix an issue of some images not loading in time for test
Configuration menu - View commit details
-
Copy full SHA for a54bf83 - Browse repository at this point
Copy the full SHA a54bf83View commit details -
- stubbed the open library books response with less data & without cover images (I believe we hit a limit on requesting images through our test suites, which makes sense since it keeps requesting images over and over in E2E)
Configuration menu - View commit details
-
Copy full SHA for 543e09c - Browse repository at this point
Copy the full SHA 543e09cView commit details -
- use beforeEach() for clearing local storage between tests
Configuration menu - View commit details
-
Copy full SHA for 8c6ae89 - Browse repository at this point
Copy the full SHA 8c6ae89View commit details -
- book is a smart component that isnt being rendered in the DOM as taking space, but a placeholder for children elements too. So let's find the `mat-card` and click that instead
Configuration menu - View commit details
-
Copy full SHA for de3ee1f - Browse repository at this point
Copy the full SHA de3ee1fView commit details -
- basic integration test for OpenLibrary.org API but OpenLibrary.org is down right now! The demo site doesnt work unless you've already visited it recently (so it cached the response data in local storage) - more reason to add a backend to this project...
Configuration menu - View commit details
-
Copy full SHA for 75f8295 - Browse repository at this point
Copy the full SHA 75f8295View commit details -
- turned off test suite for open library API - added basic min width & height to mat-card inside Book-Ui
Configuration menu - View commit details
-
Copy full SHA for 88cb2b7 - Browse repository at this point
Copy the full SHA 88cb2b7View commit details -
- actually skip api test, not pending - trying to force mat-card to have some size in DOM with out images... strangely enough it works fine locally with the same command but breaks remotely during CI
Configuration menu - View commit details
-
Copy full SHA for 4186a13 - Browse repository at this point
Copy the full SHA 4186a13View commit details -
- instead of doing it artifically with CSS, when there is no image, just display the Book id (for now)
Configuration menu - View commit details
-
Copy full SHA for 91f3d48 - Browse repository at this point
Copy the full SHA 91f3d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5028235 - Browse repository at this point
Copy the full SHA 5028235View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec624f5 - Browse repository at this point
Copy the full SHA ec624f5View commit details -
- let's make cypress wait for the backend stub to resolve before trying to click an element whose rendering is effected
Configuration menu - View commit details
-
Copy full SHA for c0c11fe - Browse repository at this point
Copy the full SHA c0c11feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95a431a - Browse repository at this point
Copy the full SHA 95a431aView commit details -
- setup stub response, visit page which triggers API call, but wait before clicking for that API call to resolve
Configuration menu - View commit details
-
Copy full SHA for 60d3c51 - Browse repository at this point
Copy the full SHA 60d3c51View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.