-
Notifications
You must be signed in to change notification settings - Fork 1
SS-1190 e2e tests for gradio and streamlit app deployment #262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SS-1190 e2e tests for gradio and streamlit app deployment #262
Conversation
| verifyAppStatus(app_name, "Running", "public") | ||
|
|
||
| // Verify Gradio app values | ||
| cy.logf("Checking that all dash app settings were saved", Cypress.currentTest) |
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.
| cy.logf("Checking that all dash app settings were saved", Cypress.currentTest) | |
| cy.logf("Checking that all Gradio app settings were saved", Cypress.currentTest) |
akochari
left a comment
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.
Looks good!
| verifyAppStatus(app_name, "Running", "public") | ||
|
|
||
| // Verify Streamlit app values | ||
| cy.logf("Checking that all dash app settings were saved", Cypress.currentTest) |
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.
| cy.logf("Checking that all dash app settings were saved", Cypress.currentTest) | |
| cy.logf("Checking that all streamlit app settings were saved", Cypress.currentTest) |
|
|
||
| // check that the app is not visible under public apps | ||
| cy.visit('/apps/') | ||
| cy.get("title").should("have.text", "Apps and models | SciLifeLab Serve (beta)") |
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.
| cy.get("title").should("have.text", "Apps and models | SciLifeLab Serve (beta)") |
| // check that the app is not visible under public apps | ||
| cy.visit('/apps/') | ||
| cy.get("title").should("have.text", "Apps and models | SciLifeLab Serve (beta)") | ||
| cy.get('h3').should('contain', 'Public applications and models') |
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.
| cy.get('h3').should('contain', 'Public applications and models') |
| cy.get("title").should("have.text", "Apps and models | SciLifeLab Serve (beta)") | ||
| cy.get('h3').should('contain', 'Public applications and models') |
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.
| cy.get("title").should("have.text", "Apps and models | SciLifeLab Serve (beta)") | |
| cy.get('h3').should('contain', 'Public applications and models') |
Description
Source: https://scilifelab.atlassian.net/browse/SS-1190
The task is to add appropriate tests for these app types where needed in e2e tests.
Types of changes
To indicate the type of change (such as bugfix or new feature), use a github pull request label.
Checklist
If you're unsure about any of the items below, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.
Further comments
Anything else you think we should know before merging your code!