Skip to content

Commit

Permalink
Add newline at the end of all files
Browse files Browse the repository at this point in the history
  • Loading branch information
slesaad committed Sep 24, 2024
1 parent 13bdaa9 commit d72b59c
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion e2e/generateTestData.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ fs.writeFile(
console.info('new test data file generated');
}
}
);
);
2 changes: 1 addition & 1 deletion e2e/pages/aboutPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export default class AboutPage {
console.log(`found ${partnerText} here`)
return partnerText
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/analysisPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ export default class AnalysisPage {
this.datasetCheckbox.nth(index).click();
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/analysisResultsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export default class AnalysisResultsPage {
this.analysisCards = this.page.getByRole('article');
}

}
}
2 changes: 1 addition & 1 deletion e2e/pages/basePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ export const test = base.extend<{
},
});

export const expect = test.expect;
export const expect = test.expect;
2 changes: 1 addition & 1 deletion e2e/pages/catalogPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ export default class CatalogPage {
await catalogCard.click({force: true});
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/contactModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export default class ContactModal {
this.page = page;
this.header = this.page.getByRole("heading", {level: 1, name: /contact us/i })
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/dataToolkitPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export default class DataToolkitPage {
this.mainContent = this.page.getByRole('main');
this.header = this.mainContent.getByRole('heading', {level: 1, name: /accessing and exploring data/i })
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/datasetPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ export default class DatasetPage {
return this.taxonomyLinkSection.locator('dd').getByRole('link').all();
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/datasetSelectorComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ export default class DatasetSelectorComponent {
await this.addToMapButton.click();
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/disclaimerComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export default class DisclaimerComponent {
await this.acceptButton.click();
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/explorePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export default class ExplorePage {
await this.closeFeatureTourButton.click();
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/footerComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ export default class FooterComponent {
}
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/headerComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ export default class HeaderComponent {
}
})
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/homePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export default class HomePage {
this.mainContent = this.page.getByRole('main');
this.headingContainer = this.mainContent.locator('div').filter({ hasText: 'U.S. Greenhouse Gas CenterUniting Data and Technology to Empower Tomorrow\'s' }).nth(2)
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/learnPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export default class LearnPage {
this.page = page;
this.header = this.page.getByRole('heading', { level: 1, name: 'Learn' });
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/newsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export default class NewsPage {
this.mainContent = this.page.getByRole('main');
this.header = this.mainContent.getByRole('heading', {level: 1, name: /news & events/i })
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/notebookConnectModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export default class NotebookConnectModal {
this.page = page;
this.heading = this.page.getByRole('heading', { name: /how to use this dataset/i });
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/storyPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export default class StoryPage {
this.mainContent = this.page.getByRole('main');
this.header = this.mainContent.getByRole('heading', {level: 1, name: /stories/i })
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/subscribePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export default class SubscribePage {
this.page = page;
this.header = this.page.getByText("Sign up for US GHG Center updates");
}
}
}
2 changes: 1 addition & 1 deletion e2e/pages/topicsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export default class TopicsPage {
this.mainContent = this.page.getByRole('main');
this.header = this.mainContent.getByRole('heading', {level: 1, name: /topics/i })
}
}
}
2 changes: 1 addition & 1 deletion e2e/tests/about.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ test('partner links should have url and image', async ({
await expect(partner.locator('img')).toBeVisible();
})
}
});
});
2 changes: 1 addition & 1 deletion e2e/tests/catalog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ test('catalogs displayed on /data-catalog route', async ({

expect(pageErrorCalled, 'no javascript exceptions thrown on page').toBe(false)

});
});
2 changes: 1 addition & 1 deletion e2e/tests/catalogRouting.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ test.describe('catalog card routing', () => {
})
}

});
});
2 changes: 1 addition & 1 deletion e2e/tests/catalogTaxonomyLinks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ test.describe('catalog card taxonomy pills have valid hyperlinks', () => {
}
})
}
});
});
2 changes: 1 addition & 1 deletion e2e/tests/exploreDatasets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ test.describe('explore dataset', () => {
}
})
}
});
});
2 changes: 1 addition & 1 deletion e2e/tests/footerNavigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ test.describe('ensure links in footer route to expected page', async () => {
await expect(subscribePage.header, 'subscribe header should be visible').toBeVisible();
await expect(page, 'should navigate to the subscription page').toHaveURL(/\/public\/subscription\/index.html/i);
})
})
})
2 changes: 1 addition & 1 deletion e2e/tests/stories.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ test('load stories on /stories route', async ({

expect(pageErrorCalled, 'no javascript exceptions thrown on page').toBe(false)

});
});
2 changes: 1 addition & 1 deletion e2e/tests/storiesRouting.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ test.describe('stories card routing', () => {
})
}

});
});
2 changes: 1 addition & 1 deletion e2e/tests/topNavigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ test.describe('ensure links in top navigation route to expected page', async ()
await expect(contactModal.header, 'contact modal header should be visible').toBeVisible();
await expect(page.locator('iframe'), 'an iframe should be visible').toBeVisible();
})
})
})

0 comments on commit d72b59c

Please sign in to comment.