Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30662

Create a proof of concept Behat test for http-cache bundle

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 3.0.0-dev
    • Fix Version/s: 3.0.0-beta2
    • Component/s: QA
    • Labels:
    • Sprint:
      [3.0] - Sprint 9

      Description

      It would be useful to have automated tests checking whether Varnish caching is working correctly.

      Goal:
      create a simple scenario that verifies that browser contains correct browser headers (with values MISS/HIT) when executing basic actions.

      Approach:
      1. Switch to ChromeDriver (at least in these tests) as it supports both JavaScript and Response headers (http://mink.behat.org/en/latest/guides/drivers.html)
      2. Add possibility to edit Content using BehatBundle
      3. Add a BrowserContext to BehatBundle that will allow to visit frontend websites and verify cache responses

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            marek.nocon@ez.no Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: