Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_see_link_is_disabled_en-us.acc failing - let's remove it? #75

Open
knorrium opened this issue Apr 24, 2012 · 1 comment
Open

test_see_link_is_disabled_en-us.acc failing - let's remove it? #75

knorrium opened this issue Apr 24, 2012 · 1 comment

Comments

@knorrium
Copy link

Hi all,

I'm doing a clean up/improvement on the action tests and noticed that test_see_link_is_disabled_en-us.acc is failing:

Scenario.......1 - Checking that some page link is disabled
    Given
            I go to "link_tests.htm" - SUCCESSFUL
    When
            #The page finishes loading - SUCCESSFUL
    Then
            I see "lnkDisabled" link is disabled - FAILED - The link with name or id lnkDisabled is enabled, when it should be disabled.

Did this scenario ever pass?

I'm running the tests against the new WebDriver driver, so maybe it is more strict/compliant than the old Selenium driver.

Accoding to the w3c [1], "The following elements support the disabled attribute: BUTTON, INPUT, OPTGROUP, OPTION, SELECT, and TEXTAREA.", so we shouldn't be testing against the A tag :)

Can I go ahead and remove this scenario (and submit a pull request)?

Thanks

[1] http://www.w3.org/TR/html401/interact/forms.html#adef-disabled

@heynemann
Copy link
Owner

Sure. Go ahead.

Cheers,
Bernardo Heynemann

On Tue, Apr 24, 2012 at 1:50 AM, Felipe Knorr Kuhn <
[email protected]

wrote:

Hi all,

I'm doing a clean up/improvement on the action tests and noticed that
test_see_link_is_disabled_en-us.acc is failing:

Scenario.......1 - Checking that some page link is disabled
   Given
               I go to "link_tests.htm" - SUCCESSFUL
   When
               #The page finishes loading - SUCCESSFUL
   Then
               I see "lnkDisabled" link is disabled - FAILED - The link
with name or id lnkDisabled is enabled, when it should be disabled.

Did this scenario ever pass?

I'm running the tests against the new WebDriver driver, so maybe it is
more strict/compliant than the old Selenium driver.

Accoding to the w3c [1], "The following elements support the disabled
attribute: BUTTON, INPUT, OPTGROUP, OPTION, SELECT, and TEXTAREA.", so we
shouldn't be testing against the A tag :)

Can I go ahead and remove this scenario (and submit a pull request)?

Thanks

[1] http://www.w3.org/TR/html401/interact/forms.html#adef-disabled


Reply to this email directly or view it on GitHub:
#75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants