Skip to content

Commit

Permalink
feat(failtestcase): removing fail test case on pipeline and added gh …
Browse files Browse the repository at this point in the history
…secrets
  • Loading branch information
bhargav-garlapati committed Sep 2, 2023
1 parent 9201356 commit 9e184ca
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cypress Free Template
name: Cypress Example E2E
on:
push:
branches:
Expand Down Expand Up @@ -75,6 +75,14 @@ jobs:
# Recommended: pass the GitHub token lets this action correctly
# determine the unique run id necessary to re-run the checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Pre-production authentication
CYPRESS_BASIC_AUTH_USERNAME: ${{ secrets.BASIC_AUTH_USERNAME }}
CYPRESS_BASIC_AUTH_PASSWORD: ${{ secrets.BASIC_AUTH_PASSWORD }}

#Login info
CYPRESS_USERNAME: ${{ secrets.USERNAME }}
CYPRESS_PASSWORD: ${{ secrets.PASSWORD }}

- name: Save results folder
if: ${{ always() }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ cypress/results/json/*
cypress/screenshots/*
cypress/videos/*
.npmrc
.DS_Store
.DS_Store
cypress/.DS_Store
Binary file modified cypress/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion cypress/e2e/welcome_to_the_internet_fail.cy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('Welcome to the-internet', () => {
describe.skip('Welcome to the-internet', () => {

it('Successfully loads the-internet page: Fail assertion', () => {
cy.visitPage('/');
Expand Down

0 comments on commit 9e184ca

Please sign in to comment.