chore(e2e): re-enable e2e tests for some components (#15615)

Some components are affected by #15614 and can't be enabled yet.
This commit is contained in:
mmalerba
2019-03-26 12:11:52 -07:00
committed by Jeremy Elbourn
parent e22f46b780
commit d739c675c7
9 changed files with 31 additions and 13 deletions
+2 -4
View File
@@ -367,10 +367,8 @@ workflows:
integration_tests:
jobs:
# Temporarily disable e2e tests until https://github.com/angular/angular/issues/29123
# is resolved.
# - e2e_tests:
# filters: *ignore_presubmit_branch_filter
- e2e_tests:
filters: *ignore_presubmit_branch_filter
- prerender_build:
filters: *ignore_presubmit_branch_filter
+2
View File
@@ -3,6 +3,8 @@
// with AOT compilation, NGC needs the "ngsummary.json" files.
{
"compilerOptions": {
"module": "umd",
"moduleResolution": "node",
"lib": [
"dom",
"es2015"
+5 -4
View File
@@ -1,7 +1,10 @@
import {browser, by, element} from 'protractor';
describe('expansion', () => {
// TODO(mmalerba): These tests are disabled due to an issue with animations.
// (See https://github.com/angular/material2/issues/15614)
// Re-enable once the issue is resolved.
// tslint:disable-next-line:ban
xdescribe('expansion', () => {
beforeEach(async () => await browser.get('/expansion'));
it('should show an accordion', async () => {
@@ -36,6 +39,4 @@ describe('expansion', () => {
expect(await panelDescription.getText()).toContain('Currently I am closed');
});
});
+5 -1
View File
@@ -1,7 +1,11 @@
import {browser} from 'protractor';
import {expectToExist} from '../util/index';
describe('list', () => {
// TODO(mmalerba): These tests are disabled due to an issue with animations.
// (See https://github.com/angular/material2/issues/15614)
// Re-enable once the issue is resolved.
// tslint:disable-next-line:ban
xdescribe('list', () => {
beforeEach(async () => await browser.get('/list'));
it('should render a list container', async () => {
+5 -1
View File
@@ -11,7 +11,11 @@ const presenceOf = ExpectedConditions.presenceOf;
const not = ExpectedConditions.not;
describe('menu', () => {
// TODO(mmalerba): These tests are disabled due to an issue with animations.
// (See https://github.com/angular/material2/issues/15614)
// Re-enable once the issue is resolved.
// tslint:disable-next-line:ban
xdescribe('menu', () => {
const menuSelector = '.mat-menu-panel';
const page = {
menu: () => element(by.css('.mat-menu-panel')),
+5 -1
View File
@@ -5,7 +5,11 @@ import {expectFocusOn, expectToExist} from '../util/asserts';
import {pressKeys} from '../util/actions';
import {Key} from 'selenium-webdriver';
describe('stepper', () => {
// TODO(mmalerba): These tests are disabled due to an issue with animations.
// (See https://github.com/angular/material2/issues/15614)
// Re-enable once the issue is resolved.
// tslint:disable-next-line:ban
xdescribe('stepper', () => {
beforeEach(async () => await browser.get('/stepper'));
it('should render a stepper', async () => {
+5 -1
View File
@@ -8,7 +8,11 @@ import {
} from 'protractor';
import {pressKeys} from '../util/index';
describe('tabs', () => {
// TODO(mmalerba): These tests are disabled due to an issue with animations.
// (See https://github.com/angular/material2/issues/15614)
// Re-enable once the issue is resolved.
// tslint:disable-next-line:ban
xdescribe('tabs', () => {
describe('basic behavior', () => {
let tabLabels: ElementArrayFinder;
let tabBodies: ElementArrayFinder;
+1 -1
View File
@@ -17,7 +17,7 @@
"dev-app": "gulp serve:devapp",
"test": "gulp test",
"lint": "gulp lint",
"e2e": "gulp e2e",
"e2e": "bazel test //e2e/...",
"deploy": "gulp deploy:devapp",
"webdriver-manager": "webdriver-manager",
"breaking-changes": "gulp breaking-changes",
+1
View File
@@ -129,4 +129,5 @@ ANGULAR_LIBRARY_UMDS = [
"@npm//node_modules/@angular/platform-browser:bundles/platform-browser-animations.umd.js",
"@npm//node_modules/@angular/platform-browser:bundles/platform-browser-testing.umd.js",
"@npm//node_modules/@angular/platform-browser:bundles/platform-browser.umd.js",
"@npm//node_modules/@angular/router:bundles/router.umd.js",
]