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

Fix RCPTT-478_HTML report looks different if it is copied as only htm… #47

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -37,6 +37,14 @@ Verify that report styles are not broken.
Content-Type: text/ecl
Entry-Name: .content

get-preferences-menu | click
with [get-window Preferences] {
get-tree | select "General/Web Browser"
get-button "Use internal web browser" | click -metaKeys ""
get-button Apply | click -metaKeys ""
get-button "Apply and Close" | click -metaKeys ""
}

get-view "Test Explorer" | get-tree | select "Q7Project/test1" | select "Q7Project/test1" | double-click
get-editor test1 | get-button Replay | click
get-view "Execution View" | get-button Report | click
Expand All @@ -52,17 +60,17 @@ with [get-window "New Folder"] {
}
get-view "Test Explorer" | get-tree | select "Q7Project/test1.*.html" | double-click

let [val reportContent [get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux "Web Browser"] | get-control Browser | get-property text -raw]]{
let [val reportContent [get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux ".*.html"] | get-control Browser | get-property text -raw]]{

get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux "Web Browser"] | close
get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux ".*.html"] | close

with [get-view "Test Explorer" | get-tree] {
select "Q7Project/test1.*.html" | get-menu Copy | click
select "Q7Project/F" | select "Q7Project/F" | get-menu Paste | click
select "Q7Project/F/test1.*.html" | double-click
}

get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux "Web Browser"] | get-control Browser | get-property text -raw | eq $reportContent | verify-true
get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux ".*.html"] | get-control Browser | get-property text -raw | eq $reportContent | verify-true

}

Expand Down