Pop-Up

  • There should be a button named "Launch Pop-Up"
  • The button should open the Pop-Up
  • The Pop-Up:
    • There should be an iframe page in the Pop-Up
    • The page title should be "Iframe page title"
    • There should be a text to copy "I am the text you want to copy"
    • There should be two buttons: "Cancel" and "Check"
    • the "Check" button should open the input form
  • The form should consist of one input field and a submit button
  • After submitting the form, the user input should be validated and the result should be displayed on the page
  • If the user entered the correct text, a green element with the text "Correct!" should be displayed.
  • If the user entered incorrect text, a yellow element with the text "Nope. Better luck next time!" should be displayed.