refactor(datetime): e2e does not support components option (#24270)

This commit is contained in:
Sean Perkins
2021-11-30 14:50:12 -05:00
committed by GitHub
parent ade21d3b19
commit b0eadfe229

View File

@@ -1,10 +1,8 @@
import { newE2EPage } from '@stencil/core/testing';
import { Datetime } from '../../datetime';
describe('Footer', () => {
test('should render default buttons', async () => {
const page = await newE2EPage({
components: [Datetime],
html: '<ion-datetime show-default-buttons="true"></ion-datetime>'
});
@@ -19,7 +17,6 @@ describe('Footer', () => {
test('should render clear button', async () => {
const page = await newE2EPage({
components: [Datetime],
html: '<ion-datetime show-clear-button="true"></ion-datetime>'
});
@@ -31,7 +28,6 @@ describe('Footer', () => {
test('should render clear and default buttons', async () => {
const page = await newE2EPage({
components: [Datetime],
html: '<ion-datetime show-default-buttons="true" show-clear-button="true"></ion-datetime>'
});
@@ -49,7 +45,6 @@ describe('Footer', () => {
test('should render custom buttons', async () => {
const page = await newE2EPage({
components: [Datetime],
html: `
<ion-datetime show-default-buttons="true" show-clear-button="true">
<ion-buttons slot="buttons">
@@ -67,7 +62,6 @@ describe('Footer', () => {
test('should render custom buttons', async () => {
const page = await newE2EPage({
components: [Datetime],
html: `
<ion-datetime show-default-buttons="true" show-clear-button="true">
<ion-buttons slot="buttons">