Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Q: using toHaveSelector #132

@basz

Description

@basz

This fails

await expect(page).toHaveSelector('div.ember-cli-notifications-notification__container');

where this passes

await expect(page).toHaveSelector('div#content-wrapper');

are selector's something other then CSS selectors? Or perhaps I expect different behavior?

I am certain a div.ember-cli-notifications-notification__container exists on my page

<div class="ember-cli-notifications-notification__container ember-cli-notifications-notification__container--bottom-right" style="z-index: 1060;" data-test-notification-container="bottom-right">
<!----></div>
<div id="content-wrapper" class="min-100h d-flex flex-column flex-nowrap"></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions