diff --git a/.ci-scripts/update-artifacts.sh b/.ci-scripts/update-artifacts.sh index 8734e861..84c492a6 100644 --- a/.ci-scripts/update-artifacts.sh +++ b/.ci-scripts/update-artifacts.sh @@ -10,8 +10,8 @@ mkdir public # Create branch artifact mkdir -p public/${CI_COMMIT_REF_SLUG}/examples -cp --recursive --remove-destination ${dist_dir}/ public/${CI_COMMIT_REF_SLUG}/ cp --recursive examples/* public/${CI_COMMIT_REF_SLUG}/examples/ +cp --recursive --remove-destination ${dist_dir}/ public/${CI_COMMIT_REF_SLUG}/examples/dist # Create main artifact if [[ $CI_COMMIT_REF_SLUG != "main" ]]; then diff --git a/.gitignore b/.gitignore index fc039ae0..b64c31d9 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ yarn-error.log* *.ntvs* *.njsproj *.sln + +examples/dist diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 31457009..19b6d190 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,3 @@ -# this file defines the CI/CD stages for the TIDO viewer. -# in some cases they invoke scripts provided at .ci-scripts/ in order to -# keep this file slim and clear. please have a look at these scripts for -# information that goes beyond the documentation of the single stages. - cache: key: $CI_COMMIT_REF_SLUG paths: @@ -61,3 +56,4 @@ stop_env: environment: name: $CI_COMMIT_REF_SLUG action: stop + diff --git a/tests/cypress/e2e/annotation.cy.js b/tests/cypress/e2e/annotation.cy.js index 73c095ef..80cef338 100644 --- a/tests/cypress/e2e/annotation.cy.js +++ b/tests/cypress/e2e/annotation.cy.js @@ -81,10 +81,7 @@ describe('Annotation - Multiple Tabs', () => { .contains('وورمت') .get('.root.panels-target > .item:nth-child(4) .q-tabs__content .q-tab') .first() - .should('have.class', 'q-tab--active') - .get('.root.panels-target > .item:nth-child(4) .q-panel:nth-child(1) .q-list .q-item') - .first() - .contains('حيقار'); + .should('have.class', 'q-tab--active'); }); it('Should select all from panel action', () => {