Skip to content

Commit

Permalink
Update dgw-api version used in CI
Browse files Browse the repository at this point in the history
- also improve datafilePreview e2e tests
  • Loading branch information
louise-davies committed Sep 2, 2024
1 parent 4aa7152 commit a424309
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
with:
repository: ral-facilities/datagateway-api
path: datagateway-api
ref: v9.0.2
ref: v9.0.3

# DataGateway API file setup
- name: Create search_api_mapping.json
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
with:
repository: ral-facilities/datagateway-api
path: datagateway-api
ref: v9.0.2
ref: v9.0.3

# DataGateway API file setup
- name: Create search_api_mapping.json
Expand Down Expand Up @@ -436,7 +436,7 @@ jobs:
with:
repository: ral-facilities/datagateway-api
path: datagateway-api
ref: v9.0.2
ref: v9.0.3

# DataGateway API file setup
- name: Create search_api_mapping.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Datafile preview', () => {
cy.contains('159.93 MB').should('exist');
cy.contains('/wish/although/eat.txt').should('exist');
cy.contains('2019-09-05 14:03:35+01:00').should('exist');
cy.contains('2019-09-05 14:03:35+01:00').should('exist');
cy.contains('2011-03-25 13:11:50+00:00').should('exist');

// should be at 100% zoom
cy.contains('100%').should('exist');
Expand Down Expand Up @@ -162,7 +162,7 @@ describe('Datafile preview', () => {
cy.contains('159.93 MB').should('not.exist');
cy.contains('/wish/although/eat.txt').should('not.exist');
cy.contains('2019-09-05 14:03:35+01:00').should('not.exist');
cy.contains('2019-09-05 14:03:35+01:00').should('not.exist');
cy.contains('2011-03-25 13:11:50+00:00').should('not.exist');

// see above for the HTML structure of the checkbox
cy.get('label')
Expand All @@ -181,7 +181,7 @@ describe('Datafile preview', () => {
cy.contains('159.93 MB').should('exist');
cy.contains('/wish/although/eat.txt').should('exist');
cy.contains('2019-09-05 14:03:35+01:00').should('exist');
cy.contains('2019-09-05 14:03:35+01:00').should('exist');
cy.contains('2011-03-25 13:11:50+00:00').should('exist');

// see above for the HTML structure of the checkbox
cy.get('label')
Expand Down
4 changes: 2 additions & 2 deletions packages/datagateway-dataview/cypress/fixtures/datafile.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[
{
"datafileModTime": "2019-09-05 14:03:35+01:00",
"modTime": "2019-09-05 14:03:35+01:00",
"modTime": "2019-09-06 14:03:35+01:00",
"checksum": "ca0b59c00703c61a077e099c3d4f4d5f",
"datafileCreateTime": "2011-03-25 13:11:50+00:00",
"fileSize": 159934493,
"name": "Datafile 3484.txt",
"createTime": "2011-03-25 13:11:50+00:00",
"createTime": "2011-03-26 13:11:50+00:00",
"createId": "user",
"description": "Effort plan social history carry this summer stuff. Fear source yard small.\nTogether discover new account parent. Learn wall industry red suffer. Black concern building behavior able long.",
"location": "/wish/although/eat.txt",
Expand Down

0 comments on commit a424309

Please sign in to comment.