From 6aa7727007b7cc43b11081b4e5ed81de2ea3bcc3 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 27 Aug 2018 21:40:59 +0200 Subject: [PATCH] build: fix radio e2e tests timing out (#12857) 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 b278efa1967..f39e65eb9d6 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(); });