Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18585

TestUtils#gotoPage() timeouts when the given URL redirects back to the current URL

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      This happens for instance if you do this in a test:

      • call TestUtils#deletePage(), which deletes the page and leaves you on the missing page in view mode
      • call TestUtils#createPage() just after, the save URL redirects back to view mode so on the same page as before, the current URL doesn't change and this makes gotoPage timeout because it expects the current URL to change

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: