-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6f8e794
Showing
10,542 changed files
with
631,927 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "Using fixtures to represent data", | ||
"email": "hello@cypress.io", | ||
"body": "Fixtures are a great way to mock data for responses to routes" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/// <reference types="Cypress" /> | ||
|
||
describe('jira clone', () => { | ||
before(() =>{ | ||
cy.visit('https://jira-clone.mad.itera.no/project/board') | ||
|
||
}) | ||
|
||
|
||
it('should be able to create a new issue', () => { | ||
// Here you will write the test | ||
cy.get('[data-testid="icon:plus"]').click() | ||
|
||
//Issue type | ||
cy.get('[data-testid="select:type"]').click() | ||
cy.get('[data-testid="select-option:Story"]').click() | ||
|
||
//Short summary | ||
cy.get('[name="title"]').type("Bigg error") | ||
|
||
//Description of form | ||
cy.get('.ql-editor.ql-blank').type("Bigg error with this isue") | ||
|
||
//Reporter | ||
cy.get('[data-testid="select:reporterId"]').click() | ||
cy.get('[data-testid="select-option:Baby Yoda"]').click() | ||
|
||
//Assignees | ||
cy.get('[data-testid="select:userIds"]').click() | ||
cy.get('[data-testid="select-option:Pickle Rick"]').click() | ||
|
||
//Priority | ||
cy.get('[data-testid="select:priority"]').click() | ||
cy.get('[data-testid="select-option:Highest"]').click() | ||
|
||
//submit | ||
cy.get('[type="submit"]').click() | ||
cy.contains('Issue has been successfully created.').should('be.visible') | ||
|
||
}) | ||
|
||
|
||
|
||
|
||
|
||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/// <reference types="Cypress" /> | ||
|
||
describe('jira clone', () => { | ||
before(() =>{ | ||
cy.visit('https://jira-clone.mad.itera.no/project/board') | ||
|
||
}) | ||
|
||
|
||
it('should be able to create a new issue', () => { | ||
cy.createIssue('Not big issue') | ||
cy.contains('Not big issue').click() | ||
|
||
cy.contains('Highest').click() | ||
cy.contains('Lowest').click() | ||
|
||
//cy.get('[data-testid="modal:issue-details"]').click('topRight') | ||
cy.get('.sc-bdVaJa.fuyACr').click() | ||
|
||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/// <reference types="cypress" /> | ||
|
||
describe('jira clone', () => { | ||
before(() =>{ | ||
cy.visit('https://jira-clone.mad.itera.no/project/board') | ||
|
||
}) | ||
|
||
beforeEach(() => { | ||
// create issue | ||
cy.createIssue('Not big issue') | ||
|
||
}) | ||
|
||
afterEach(() => { | ||
// delete issue | ||
// cy.deleteIssue('Not big issue') | ||
cy.contains('Not big issue').click() | ||
//Priority | ||
cy.get('[data-testid="icon:trash"]').click() | ||
cy.contains('Delete issue').click() | ||
}) | ||
|
||
it('should be able to create comment', () => { | ||
// create comment | ||
cy.createComment('Not big issue', 'this is a comment') | ||
}) | ||
|
||
it('should be able to delete comment', () => { | ||
// create comment | ||
cy.createComment('Not big issue', 'this is a second comment') | ||
|
||
// delete comment | ||
//cy.deleteComment('Not big issue', 'this is a comment') | ||
cy.contains('Not big issue').click() | ||
cy.contains('this is a comment').parent().contains('Delete').click() | ||
cy.contains('Delete comment').click() | ||
}) | ||
|
||
it('should be able to edit comment', () => { | ||
// create comment | ||
// edit comment | ||
}) | ||
}) |
Oops, something went wrong.