Codeception / Codeception/lib-innerbrowser

seeOptionIsSelected should also accept value not only text

Offen
#23 2 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
87
Forks
20
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

At present this will work for PHP Browser module:

$I->seeOptionIsSelected('#select', 'My Option Text');

but this will not:

$I->seeOptionIsSelected('#select', 'my-option-value');

It would AMAZING if the second worked.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start at the PHP Browser module's seeOptionIsSelected entry point and inspect how it currently matches an option. Done means the existing text argument still works and the option's value, such as "my-option-value", is also accepted; add or run the relevant tests if the repository provides them.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
php
Bereich
testing
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.