Skip to content

Commit

Permalink
fix(archive): Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingze Xiao committed Feb 5, 2020
1 parent 186c8d4 commit e82bbaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/integration/archive/ArchiveViewer.e2e.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
describe('Archive Viewer', () => {
const token = Cypress.env('ACCESS_TOKEN');
const fileId = Cypress.env('FILE_ID_ARCHIVE');
const fileIdLong = Cypress.env('FILE_ID_ARCHIVE_LONG');
const fileIdLarge = Cypress.env('FILE_ID_ARCHIVE_LARGE');

beforeEach(() => {
cy.visit('/');
Expand Down Expand Up @@ -58,7 +58,7 @@ describe('Archive Viewer', () => {
});

it('Should reset scroll when navigating folders', () => {
cy.showPreview(token, fileIdLong);
cy.showPreview(token, fileIdLarge);

cy.getByTitle('Collection').within(() => {
cy.get('button').click();
Expand Down
2 changes: 1 addition & 1 deletion test/support/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Cypress.env({
// NOTE: The token used is a readonly token accessing public data in a demo enterprise.
ACCESS_TOKEN: 'S8wjvjOL9GEK5VtXsQNVMOwSrx1g55oC',
FILE_ID_ARCHIVE: '589625563707',
FILE_ID_ARCHIVE_LONG: '611800378713',
FILE_ID_ARCHIVE_LARGE: '611800378713',
FILE_ID_BAD: '433514141824',
FILE_ID_DOC_LARGE: '420985736453',
FILE_ID_DOC: '415542803939',
Expand Down

0 comments on commit e82bbaa

Please sign in to comment.