-
Notifications
You must be signed in to change notification settings - Fork 0
Set up precondition data and check file content #12
Conversation
Select duplicate timezone and set length control for Cypress tests
Create Alabama format Cypress test
@@ -293,13 +312,13 @@ export default { | |||
// cy.do(Select({ name: 'header[2].timezone' }).choose('America/New_York')); | |||
|
|||
cy.do(Select({ name: 'header[3].type' }).choose('Whitespace')); | |||
cy.do(TextField({ name: 'header[3].repeat' }).fillIn('1')); | |||
cy.do(TextField({ name: 'header[1].repeat' }).fillIn('1')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it header[1] instead of header[3] here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nhanaa Must be an error from when I was resolving the merge conflict. Will fix ASAP!
|
||
cy.do(Select({ name: 'header[4].type' }).choose('Text')); | ||
cy.do(TextField({ name: 'header[4].text' }).fillIn('DU LIBRARY')); | ||
|
||
cy.do(Select({ name: 'header[5].type' }).choose('Whitespace')); | ||
cy.do(TextField({ name: 'header[5].repeat' }).fillIn('1')); | ||
cy.do(TextField({ name: 'header[1].repeat' }).fillIn('1')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
'Test Service Point', | ||
'40000000-0000-1000-8000-000000000000' | ||
), | ||
feeFineOwnerOne: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we create a test fee/fine owner before running the tests and destroy it after the tests.
I had the same problem when i started adding the preconditions. Can you confirm that your OKAPI_HOST
env variable in cypress.config.js has the same prefix as your baseUrl
in the same file? If your baseUrl
is https://folio-dev-bama-diku.ci.folio.org/
, your OKAPI_HOST
should be https://folio-dev-bama-okapi.ci.folio.org
.
The folio-testing
site also has an accompanying okapi host: https://folio-testing-cypress-okapi.ci.folio.org
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok, sorry about that! My OKAPI_HOST
url was incorrect, but it is working now. Looks good.
No description provided.