Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
added AssertThat funtion for new GenericTextFieldAssertTest
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopaul committed Dec 7, 2016
1 parent 173273a commit 16699b6
Showing 1 changed file with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
package info.novatec.testit.webtester.support.assertj;

import info.novatec.testit.webtester.pageobjects.*;
import org.assertj.core.api.Assertions;

import info.novatec.testit.webtester.pageobjects.Button;
import info.novatec.testit.webtester.pageobjects.Checkbox;
import info.novatec.testit.webtester.pageobjects.IFrame;
import info.novatec.testit.webtester.pageobjects.Image;
import info.novatec.testit.webtester.pageobjects.List;
import info.novatec.testit.webtester.pageobjects.NumberField;
import info.novatec.testit.webtester.pageobjects.PageObject;
import info.novatec.testit.webtester.pageobjects.RadioButton;
import info.novatec.testit.webtester.pageobjects.Table;
import info.novatec.testit.webtester.pageobjects.TableField;
import info.novatec.testit.webtester.pageobjects.TableRow;
import info.novatec.testit.webtester.pageobjects.TextArea;
import info.novatec.testit.webtester.pageobjects.TextField;


/**
* Entry point for assertion methods for different WebTester {@link PageObject
Expand Down Expand Up @@ -79,6 +66,10 @@ public static TextFieldAssert assertThat(TextField actual) {
return new TextFieldAssert(actual);
}

public static GenericTextFieldAssert assertThat(GenericTextField actual) {
return new GenericTextFieldAssert(actual);
}

private WebTesterAssertions() {
// utility constructor
}
Expand Down

0 comments on commit 16699b6

Please sign in to comment.