Skip to content

Commit

Permalink
Remove node-sass and fix footer test (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgading authored Sep 29, 2022
1 parent 785ef54 commit fa8f9f5
Show file tree
Hide file tree
Showing 5 changed files with 43,810 additions and 12 deletions.
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ jobs:
build:
parallelism: 1
machine:
image: circleci/classic:latest
image: ubuntu-2004:current
environment:
TEST_RESULTS: /tmp/test-results
DKTL_VERSION: "4.2.4"
DKTL_VERSION: "4.2.11"
steps:
- checkout
- run:
Expand All @@ -19,6 +19,7 @@ jobs:
command: |
cd .. && mv project frontend
mkdir project
- run:
name: Create DKAN site with frontend; run tests
command: |
Expand All @@ -29,8 +30,6 @@ jobs:
mv ../frontend src
dktl frontend:install
dktl frontend:build
dktl drush config-set frontend.config build_folder '/build' -y
dktl drush config-set frontend.config frontend_path '/frontend' -y
dktl frontend:test
- store_artifacts:
path: src/frontend/cypress/screenshots
Expand Down
6 changes: 4 additions & 2 deletions cypress/integration/home.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ context('Home', () => {
'Gold Prices in London 1950-2008 (Monthly)',
'Afghanistan Election Districts',
];

regionLinks.forEach((text) => cy.findByRole('heading', { name: text }));
})

Expand All @@ -45,7 +45,9 @@ context('Home', () => {
'Drupal',
'Open Source Open Data',
];
footerLinks.forEach((text) => cy.findByRole('link', { name: text }))
cy.get('.dc-footer').within(() => {
footerLinks.forEach((text) => cy.findByRole('link', { name: text }).should('exist'))
})
})

})
Loading

0 comments on commit fa8f9f5

Please sign in to comment.