Skip to content

Commit

Permalink
fixup! refactor(docs-infra): reimplement aio-select using mat-select
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed May 13, 2022
1 parent c717a8b commit 420f5bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aio/src/app/shared/select/select.component.spec.ts
Expand Up @@ -7,7 +7,7 @@ import { HarnessLoader } from '@angular/cdk/testing';

import { MatSelectHarness } from '@angular/material/select/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { MatFormFieldHarness } from "@angular/material/form-field/testing";
import { MatFormFieldHarness } from '@angular/material/form-field/testing';

const options = [
{ title: 'Option A', value: 'option-a' },
Expand Down
4 changes: 2 additions & 2 deletions aio/tests/e2e/src/app.po.ts
Expand Up @@ -99,8 +99,8 @@ export class SitePage {
}

async clickDropdownItem(dropdown: ElementFinder, itemName: string){
await dropdown.element(by.css('.form-select-button')).click();
const menuItem = dropdown.element(by.cssContainingText('.form-select-dropdown li', itemName));
await dropdown.element(by.css('mat-select')).click();
const menuItem = element(by.cssContainingText('mat-option', itemName));
await menuItem.click();
}
}

0 comments on commit 420f5bb

Please sign in to comment.