itemengine-cypress-automation 1.0.515-dependabot-npm-and-yarn-multi-c7c3a225fc-47d2677.0 → 1.0.515

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,42 @@
1
- describe('Page Load Test for v1', () => {
2
- it('should load the page successfully', () => {
3
- cy.log('Navigating to Login Page');
4
- cy.visit('https://sandbox.itemengine-staging.il-apps.com/login');
5
- cy.get('body').should('exist');
6
- cy.log('Login page loaded');
7
- cy.get('h1').should('have.text', 'Log in');
8
- cy.get('button[data-at="Sign-in-button"] span').should('have.text', 'Sign In');
9
- });
10
- });
1
+ // describe('Page Load Test for v1', () => {
2
+ // it('should load the page successfully', () => {
3
+ // cy.log('Navigating to Login Page');
4
+ // cy.visit('https://sandbox.itemengine-staging.il-apps.com/login');
5
+ // cy.get('body').should('exist');
6
+ // cy.log('Login page loaded');
7
+ // cy.get('h1').should('have.text', 'Log in');
8
+ // cy.get('button[data-at="Sign-in-button"] span').should('have.text', 'Sign In');
9
+ // });
10
+ // });
11
+
12
+ // describe('Page Load Test for v2', () => {
13
+ // it('should load the page successfully', () => {
14
+ // cy.log('Navigating to Login Page');
15
+ // cy.visit('https://itemengine-sandbox-staging.content-nonprod.imaginelearning.com/login');
16
+ // cy.get('body').should('exist');
17
+ // cy.log('Login page loaded');
18
+ // cy.get('h1').should('have.text', 'Log in');
19
+ // cy.get('button[data-at="Sign-in-button"] span').should('have.text', 'Sign In');
20
+ // });
21
+ // });
11
22
 
12
- describe('Page Load Test for v2', () => {
23
+ describe('Page Load Test for v1', () => {
13
24
  it('should load the page successfully', () => {
14
- cy.log('Navigating to Login Page');
15
- cy.visit('https://itemengine-sandbox-staging.content-nonprod.imaginelearning.com/login');
25
+ cy.log('Navigating to Google');
26
+ cy.visit('https://google.com');
16
27
  cy.get('body').should('exist');
17
- cy.log('Login page loaded');
18
- cy.get('h1').should('have.text', 'Log in');
19
- cy.get('button[data-at="Sign-in-button"] span').should('have.text', 'Sign In');
28
+ cy.log('Google page loaded');
29
+
30
+ // Check for Google's search input
31
+ cy.get('input[name="q"]').should('exist');
32
+
33
+ // Check for Google Search button
34
+ cy.get('input[value="Google Search"]').should('exist');
35
+
36
+ // Check for the Google logo
37
+ cy.get('img[alt="Google"]').should('be.visible');
38
+
39
+ // Verify the page title contains "Google"
40
+ cy.title().should('include', 'Google');
20
41
  });
21
42
  });
package/cypress.config.js CHANGED
@@ -33,7 +33,7 @@ module.exports = defineConfig({
33
33
  viewportWidth: 1400,
34
34
  viewportHeight: 1025,
35
35
  trashAssetsBeforeRuns: false,
36
- chromeWebSecurity: true,
36
+ chromeWebSecurity: false,
37
37
  video: false,
38
38
  watchForFileChanges: false,
39
39
  scrollBehavior: 'center',
@@ -20,6 +20,13 @@ deployment:
20
20
  requests:
21
21
  memory: 4096Mi
22
22
  cpu: 2000m
23
+ egress:
24
+ FQDNs:
25
+ - "google.com"
26
+ - "sandbox.itemengine-dev.il-apps.com"
27
+ - "sandbox.itemengine-qa.il-apps.com"
28
+ - "sandbox.itemengine-staging.il-apps.com"
29
+ - "sandbox.itemengine-prod.il-apps.com"
23
30
 
24
31
  namespaces:
25
32
  dev:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.515-dependabot-npm-and-yarn-multi-c7c3a225fc-47d2677.0",
3
+ "version": "1.0.515",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -43,7 +43,7 @@
43
43
  "axe-core": "^4.7.1",
44
44
  "cy-verify-downloads": "^0.1.11",
45
45
  "cy2": "^4.0.9",
46
- "cypress": "^15.2.0",
46
+ "cypress": "^12.17.2",
47
47
  "cypress-axe": "^1.4.0",
48
48
  "cypress-file-upload": "^5.0.8",
49
49
  "cypress-real-events": "^1.7.6",