Skip to content

Commit

Permalink
style: remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 committed Dec 9, 2020
1 parent 8932129 commit 55f1628
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion integration/page_objects/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ class CommonPage {
}

async disableAnimations() {
// await this.loadElementFromURL(url, '#story-root');
await page.evaluate(() => {
document.querySelector('#story-root')!.classList.add('disable-animations');
});
Expand Down
2 changes: 0 additions & 2 deletions integration/tests/area_stories.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ describe('Area series stories', () => {
it('shows only positive values when hiding negative one', async () => {
const action = async () => {
await common.disableAnimations();
// 'http://localhost:9001/?path=/story/area-chart--with-negative-and-positive&knob-Y scale=log',
await page.click('.echLegendItem:nth-child(2) .echLegendItem__label');
};
await common.expectChartAtUrlToMatchScreenshot(
Expand All @@ -90,7 +89,6 @@ describe('Area series stories', () => {
it('shows only negative values when hiding positive one', async () => {
const action = async () => {
await common.disableAnimations();
// 'http://localhost:9001/?path=/story/area-chart--with-negative-and-positive&knob-Y scale=log',
await page.click('.echLegendItem:nth-child(1) .echLegendItem__label');
};
await common.expectChartAtUrlToMatchScreenshot(
Expand Down

0 comments on commit 55f1628

Please sign in to comment.