oficina / docs Public

Clone
git clone https://amadan.net/oficina/docs

Plain git — no account needed to clone.

Download

Download this file

1//go:build browser
2
3package docs_test
4
5import "testing"
6
7// The editor's Share popover in Chromium and WebKit
8// (fixtures/engines/share-pop.mjs): opens under Share without leaving the
9// page; Share while open does nothing; invite, both switches and remove
10// redraw it from the server; outside and Esc close it; on a phone it is a
11// modal sheet opened from the Menu sheet.
12func TestEnginesSharePopover(t *testing.T) {
13 if out, err := runEngines(t, "share-pop.mjs"); err != nil {
14 t.Fatalf("the Share popover failed in an engine: %v\n%s", err, out)
15 }
16}
17