Skip to content

Commit

Permalink
bump actions versions and fix version unavailable on ci platform
Browse files Browse the repository at this point in the history
  • Loading branch information
kcpevey committed Jun 17, 2024
1 parent 0aaa3dc commit bc6e066
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4

- name: "Set up Python"
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
env:
CONDA_SOLVER: libmamba
with:
Expand Down Expand Up @@ -54,14 +54,14 @@ jobs:
pytest --video on --output video --screenshots true test/playwright/test_ux.py
- name: "Upload screenshot artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: screenshots
path: test-results

- name: "Upload video artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: video
Expand Down
4 changes: 2 additions & 2 deletions test/playwright/test_ux.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _create_new_environment(page, screenshot=False):
page.get_by_role("combobox").nth(1).click()
if screenshot:
page.screenshot(path="test-results/package-version-number.png")
page.get_by_role("option", name="12.6.0").click()
page.get_by_role("option", name="12.5.1").click()

# python
# click the + to add a package
Expand Down Expand Up @@ -218,7 +218,7 @@ def _existing_environment_interactions(page, env_name, time_to_build_env=5*60*10
if screenshot:
page.screenshot(path="test-results/pip-section.png")
page.get_by_text("- rich").click() # bring focus to the section
page.get_by_text("channels: - conda-forgedependencies: - rich>12.6.0 - python=3.10.9 - pip: - nothing - ipykernelvariables: {}").fill("channels:\n - conda-forge\ndependencies:\n - rich>12.6.0\n - python=3.10\n")
page.get_by_text("channels: - conda-forgedependencies: - rich>12.5.1 - python=3.10.9 - pip: - nothing - ipykernelvariables: {}").fill("channels:\n - conda-forge\ndependencies:\n - rich>12.5.1\n - python=3.10\n")
page.get_by_role("button", name="Save").click()
edit_button.wait_for(state="attached")

Expand Down

0 comments on commit bc6e066

Please sign in to comment.