-
Notifications
You must be signed in to change notification settings - Fork 821
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'attilah-defexport' into defexport
- Loading branch information
Showing
423 changed files
with
30,748 additions
and
29,881 deletions.
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
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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-lerna-scopes', '@commitlint/config-conventional'] | ||
extends: ['@commitlint/config-lerna-scopes', '@commitlint/config-conventional'], | ||
}; |
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 |
---|---|---|
@@ -1,19 +1,22 @@ | ||
|
||
describe('API test post and get', function() { | ||
beforeEach(function() { | ||
cy.visit('/') | ||
}) | ||
|
||
it('successfully adds data to dynamodb', function() { | ||
// Check for user not signed up | ||
cy.get('input[name=itemNo]').type('1') | ||
cy.get('.amplify-submit-put-button').contains('Put').click() | ||
cy.get('.amplify-put-result').contains('post call succeed!') | ||
}) | ||
beforeEach(function() { | ||
cy.visit('/'); | ||
}); | ||
|
||
it('successfully adds data to dynamodb', function() { | ||
// Check for user not signed up | ||
cy.get('input[name=itemNo]').type('1'); | ||
cy.get('.amplify-submit-put-button') | ||
.contains('Put') | ||
.click(); | ||
cy.get('.amplify-put-result').contains('post call succeed!'); | ||
}); | ||
|
||
it('successfully get data from dynamodb', function() { | ||
// Check for user not signed up | ||
cy.get('.amplify-submit-get-button').contains('Get').click() | ||
cy.get('.amplify-get-result').contains('"itemNo":1') | ||
}) | ||
}) | ||
it('successfully get data from dynamodb', function() { | ||
// Check for user not signed up | ||
cy.get('.amplify-submit-get-button') | ||
.contains('Get') | ||
.click(); | ||
cy.get('.amplify-get-result').contains('"itemNo":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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
|
||
describe('withAuthenticator Sign In', function() { | ||
beforeEach(function() { | ||
cy.visit('/') | ||
}) | ||
cy.visit('/'); | ||
}); | ||
|
||
it('throws error when user is not signed up', function() { | ||
// Check for user not signed up | ||
cy.get('input[name=username]').type('testuser') | ||
cy.get('input[name=password]').type('testPassword') | ||
cy.get('button').contains('Sign In').click() | ||
cy.get('div').contains('User does not exist') | ||
}) | ||
}) | ||
|
||
cy.get('input[name=username]').type('testuser'); | ||
cy.get('input[name=password]').type('testPassword'); | ||
cy.get('button') | ||
.contains('Sign In') | ||
.click(); | ||
cy.get('div').contains('User does not exist'); | ||
}); | ||
}); |
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.