Skip to content

Commit

Permalink
changed alice to bob for login
Browse files Browse the repository at this point in the history
  • Loading branch information
elraphty committed Jun 6, 2024
1 parent 15af1aa commit c81129d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prjob_cypress_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: cypress-logs
path: cypress/videos
path: cypress/screenshots

- name: Stop Stack
working-directory: ./stack
Expand Down
10 changes: 5 additions & 5 deletions cypress/e2e/37_bountyFilters.cy.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
describe('Alice tries to create 6 bounties and then assert filtered bounties', () => {
it('Create 6 bounties and assert filtered bounties', () => {
let activeUser = 'alice';
let activeUser = 'bob';
cy.login(activeUser);
cy.wait(1000);
cy.wait(2000);

const assignees = ['carol', 'carol', 'carol', 'carol', '', ''];
const languages = ['Typescript', 'Lightning', 'PHP', 'Typescript', 'PHP', 'Typescript'];

cy.intercept({
method: 'GET',
url: 'http://localhost:13000/gobounties/all*'
}).as('bountyFilter');

const assignees = ['carol', 'carol', 'carol', 'carol', '', ''];
const languages = ['Typescript', 'Lightning', 'PHP', 'Typescript', 'PHP', 'Typescript'];

for (let i = 0; i < 6; i++) {
cy.create_bounty({
title: `Filter Bounty Title ${i}`,
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Cypress.Commands.add('create_bounty', (bounty, clickMethod = 'contains') => {

if (bounty.assign) {
cy.get('.SearchInput').type(bounty.assign);
cy.wait(1000);
cy.wait(2000);
cy.get('.People').contains('Assign').click({ force: true });
} else {
cy.contains('Decide Later').click({ force: true });
Expand Down

0 comments on commit c81129d

Please sign in to comment.