flagon-useralejs icon indicating copy to clipboard operation
flagon-useralejs copied to clipboard

Consider Cypress tests to flex wide range of .options API behavior

Open poorejc opened this issue 3 years ago • 1 comments

Recent bug reports show, for example, behavior where reducing the latency between log shipments, and trimming the package size results in dropping logs that should be sent before a page unloads. Currently, unit tests and integration tests dont flex the range of options like this (string options are easier to test for --logging endpoint, userId, sessionID, etc.). Would be good test test for these edge-cases.

poorejc avatar Mar 14 '21 01:03 poorejc

Ideally this can be scoped to specific tasks to know when complete?

brucearctor avatar Oct 04 '22 17:10 brucearctor

We expanded the e2e test suite and migrated to Playwright in #466. While it doesn't address all edge cases in the options API, it does provide expanded coverage of the package, especially the plugin and exposed numerous issues that we fixed.

Closing for now and recommend we scope future tickets to concrete test cases.

EandrewJones avatar Oct 09 '24 17:10 EandrewJones