mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
// with AOT compilation, NGC needs the "ngsummary.json" files.
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "umd",
|
||||
"moduleResolution": "node",
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2015"
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
@@ -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,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 () => {
|
||||
|
||||
@@ -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
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user