nebari-dev / nebari

🪴 Nebari - your open source data science platform
https://nebari.dev
BSD 3-Clause "New" or "Revised" License
274 stars 89 forks source link

[ENH] - Add conda-store-ui playwright test #2020

Open kcpevey opened 12 months ago

kcpevey commented 12 months ago

Feature description

We need to add a test that opens the jlab conda-store-ui, goes through the login process and makes sure that environments can be created and builds deleted.

Value and/or benefit

We catch failures early rather than later. Less burden on the person testing for release.

Anything else?

No response

kcpevey commented 11 months ago

The react UI itself is getting a playwright test. I suggest building off of it to test the jupyter extension inside of nebari.

viniciusdc commented 2 weeks ago

adding here for future ref. to extend some playwright tests while adding the conda-store ones

      // Visit Grafana Monitoring - user must have an email address in Keycloak

      cy.visit('/monitoring/dashboards');

      cy.get('div#pageContent h1', { timeout: 20000 }).should('contain', 'Dashboards');

      // Visit Keycloak User Profile

      cy.visit('/auth/realms/nebari/account/#/personal-info');

      cy.get('input#user-name', { timeout: 20000 }).should('have.value', EXAMPLE_USER_NAME);