Skip to content
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

Lesson 5: Topic 5 #4

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
505bb26
Cloned feature/alerts-and-frames into feature/alerts-and-frames-with-…
aasimsyed Apr 13, 2024
4dd5baf
installed the 'cypress-iframe' plugin to do Lesson 4.2 tests
aasimsyed Apr 13, 2024
1294ff5
revised the frames test to utilized the 'cypress-iframe' plugin
aasimsyed Apr 13, 2024
95cff28
added 'chromeWebSecurity: false' for Sauce Demo page workaround
aasimsyed Apr 14, 2024
4d57305
added Sauce Demo credentials and AdBlock URLs in fixtures
aasimsyed Apr 14, 2024
38d4d21
refactored 'visitWithAdBlocker' to use fixture file
aasimsyed Apr 14, 2024
d3b50d3
added Sauce Demo spec
aasimsyed Apr 14, 2024
295ff6b
added error handling to commands.js
aasimsyed Apr 14, 2024
9bb6caa
using the https URL
aasimsyed Apr 14, 2024
20dfee0
removed placeholder comments
aasimsyed Apr 14, 2024
ae159bc
suppressing logs for the blocked external scripts
aasimsyed Apr 14, 2024
d5b43e0
removed a comment
aasimsyed Apr 14, 2024
16666cd
optimized
aasimsyed Apr 14, 2024
d7d2d24
optimized the alerts/frames specs
aasimsyed Apr 14, 2024
61ded08
separated e2e and api tests into respective directories and updated c…
aasimsyed Apr 16, 2024
082c7af
removed example.json; added apiRequest() and createBooking() commands
aasimsyed Apr 16, 2024
63acdb9
updated no cache visit commmand
aasimsyed Apr 16, 2024
3f27701
added fixture for booking; created getToken function; added specs for…
aasimsyed Apr 16, 2024
9e889a8
added ajv for schema validation
aasimsyed Apr 16, 2024
00f5591
added schema validation library
aasimsyed Apr 17, 2024
c574b7b
added schema files based on API docs
aasimsyed Apr 17, 2024
75f2fc7
added fixture for udpate methods
aasimsyed Apr 17, 2024
28ba3d5
added schema compile/validate function
aasimsyed Apr 17, 2024
29a0068
updated auth token in apiRequest, added deleteBooking
aasimsyed Apr 17, 2024
abba6d8
updated getNewToken to use baseUrl
aasimsyed Apr 17, 2024
16fe7b4
package files
aasimsyed Apr 17, 2024
3dfce7b
implemented all the api test spec files
aasimsyed Apr 17, 2024
2e655cc
added README.md
aasimsyed Apr 17, 2024
1902ef5
added PR link to README
aasimsyed Apr 17, 2024
fcfc285
fixed typo
aasimsyed Apr 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added 'chromeWebSecurity: false' for Sauce Demo page workaround
aasimsyed committed Apr 14, 2024
commit 95cff281c841e3eeb5ba5a5903d0b0db7d9bf6a9
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ const { defineConfig } = require("cypress");

module.exports = defineConfig({
e2e: {
chromeWebSecurity: false,
supportFile: 'cypress/support/commands.js',
specPattern: 'cypress/integration/**/*.spec.js',
setupNodeEvents(on, config) {