0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/cypress
Paul D'Ambra 8b174819e4
feat: notebook filtering by recordings presence (#16955)
* add filtering by recording

* document for API docs, only show API docs for Notebooks when in debug

* Update query snapshots

* add not working button

* wat

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* wat

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* move logic interactions closer to thome

* Update query snapshots

* Update query snapshots

* wait for the editor before acting on it

* add a method for getting an arbitrary node position

* fix

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* why an array, yesterday me?

* fix

* contains style API filtering

* without no-op clicks

* fix

* Update UI snapshots for `chromium` (2)

* refresh notebook comment button on notebook created

* inline variable

* removes speculative change

* move knowledge around

* add timestamps to existing book in timestamp order

* Fi

* add a cypress test

* Update UI snapshots for `chromium` (2)

* somet stuff

* Update query snapshots

* slightly neater waiting for the editor

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* do we know editor is going to be present?

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* witha finally?

* add todo

* handle commenting when already in a notebook

* allow in-notebook commenting to insert in timestamp order

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* feat: add examples and extend notebook backend filtering to be more generic (#17032)

* feat: add examples and allow relatively generic notebook filtering

* depluralise and absence is truthy

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-16 13:00:25 +00:00
..
data/exports
e2e feat: notebook filtering by recordings presence (#16955) 2023-08-16 13:00:25 +00:00
fixtures chore: Remove "Version" from hobby/development PostHog (#16722) 2023-08-08 14:18:45 +02:00
productAnalytics feat: Notebook queries node (#15910) 2023-06-16 16:08:07 +02:00
support chore: add notebook tests (#16715) 2023-07-21 12:46:40 +01:00
README.md
tsconfig.json test(e2e): convert cypress to typescript (#13513) 2022-12-30 11:23:09 +01:00
wait.py

Testing Feature Flags

The Cypress tests run with a PostHog instance that has no feature flags set up.

To test feature flags you can intercept the call to the decide endpoint

// sometimes the system under test calls `/decide`
// and sometimes it calls https://app.posthog.com/decide
cy.intercept('https://app.posthog.com/decide/*', (req) =>
    req.reply(
        decideResponse({
            // add feature flags here, for e.g.
            // 'feature-flag-key': true,
        })
    )
)