Skip to content

Commit

Permalink
#1134 enable component tests in pipeline's test-ui workflow (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidzm13 authored Jan 24, 2024
1 parent 82166c9 commit f5af8cd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/test-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,28 @@ jobs:
start: npm run showcase:preview
wait-on: "http://localhost:4173"

cypress-component:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node & dependencies
uses: ./.github/actions/setup-vuu-ui
- name: Run component tests in Chrome
uses: cypress-io/github-action@bd9dda317ed2d4fbffc808ba6cdcd27823b2a13b
with:
component: true
install: false
working-directory: ./vuu-ui
browser: chrome
- name: Run component tests in Edge
uses: cypress-io/github-action@bd9dda317ed2d4fbffc808ba6cdcd27823b2a13b
with:
component: true
install: false
working-directory: ./vuu-ui
browser: edge

# ensure the vuu example still builds
vuu-app-build:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DefaultCombobox } from "../../../../../../showcase/src/examples/UiControls/ComboBox.examples";
import { DefaultCombobox } from "../../../../../../showcase/src/examples/UiControls/Combobox.examples";

describe("Given a ComboBox", () => {
it("should be able to filter and select an option with a mouse", () => {
Expand Down

0 comments on commit f5af8cd

Please sign in to comment.