From 4165a58653e2b997b7d182500d494bb17eec5f5f Mon Sep 17 00:00:00 2001 From: crisbeto Date: Mon, 27 Aug 2018 20:20:16 +0200 Subject: [PATCH] build: fix radio e2e tests timing out Fixes a timeout in the radio button e2e tests, after the new design changes got in. The tests expect there to be no ripples, but the new design introduced a permanent ripple in each button. This is along the same lines as #12699. --- e2e/components/radio-e2e.spec.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/e2e/components/radio-e2e.spec.ts b/e2e/components/radio-e2e.spec.ts index b278efa19679..f39e65eb9d67 100644 --- a/e2e/components/radio-e2e.spec.ts +++ b/e2e/components/radio-e2e.spec.ts @@ -9,8 +9,6 @@ describe('radio', () => { element(by.id('water')).click(); expect(element(by.id('water')).getAttribute('class')).toContain('mat-radio-checked'); - await browser.wait(ExpectedConditions.not( - ExpectedConditions.presenceOf(element(by.css('div.mat-ripple-element'))))); expect(element(by.css('input[id=water-input]')).getAttribute('checked')).toBeTruthy(); expect(element(by.css('input[id=leaf-input]')).getAttribute('checked')).toBeFalsy(); @@ -18,9 +16,6 @@ describe('radio', () => { element(by.id('leaf')).click(); expect(element(by.id('leaf')).getAttribute('class')).toContain('mat-radio-checked'); - await browser.wait(ExpectedConditions.not( - ExpectedConditions.presenceOf(element(by.css('div.mat-ripple-element'))))); - expect(element(by.css('input[id=leaf-input]')).getAttribute('checked')).toBeTruthy(); expect(element(by.css('input[id=water-input]')).getAttribute('checked')).toBeFalsy(); }); @@ -38,9 +33,6 @@ describe('radio', () => { element(by.id('leaf')).click(); expect(element(by.id('leaf')).getAttribute('class')).toContain('mat-radio-disabled'); - await browser.wait(ExpectedConditions.not( - ExpectedConditions.presenceOf(element(by.css('div.mat-ripple-element'))))); - expect(element(by.css('input[id=leaf-input]')).getAttribute('disabled')).toBeTruthy(); });