mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 21:07:48 +00:00
[examples][frameworks] Add missing examples and add a test to ensure every framework has an example (#4372)
* Add test to frameworks * Add example for Docusaurus v2 * Add example for ionic-angular * Update READMEs * Use existing versions * Reset yarn.lock * Add schema validation and add missing Scully.io logo
This commit is contained in:
24
examples/ionic-angular/e2e/src/app.e2e-spec.ts
Normal file
24
examples/ionic-angular/e2e/src/app.e2e-spec.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { AppPage } from './app.po';
|
||||
|
||||
describe('new App', () => {
|
||||
let page: AppPage;
|
||||
|
||||
beforeEach(() => {
|
||||
page = new AppPage();
|
||||
});
|
||||
|
||||
it('should display the menu', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getMenu()).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should get the slides text', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getFirstSlide()).toBe('ion-slide');
|
||||
});
|
||||
|
||||
it('should create a router outlet', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getRouter()).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user