Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/partials/_viewfilters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,32 @@ https://cypress.io/error/500
```
https://cypress.io/home
```

### Excluding URLs regardless of protocol

#### Config

```json
{
"viewFilters": [
{
"pattern": "localhost:8888/admin/*",
"include": false
}
]
}
```

#### Visited URLs

```
http://localhost:8888/app
http://localhost:8888/admin
https://localhost:8888/admin
```

#### Views shown in UI

```
http://localhost:8888/app
```
8 changes: 4 additions & 4 deletions docs/partials/_views.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The first pattern that a given URL matches is used as its view. If a URL doesn't
{
"views": [
{
"pattern": "https://www.my-app.com/users/*"
"pattern": "www.my-app.com/users/*"
}
]
}
Expand Down Expand Up @@ -91,7 +91,7 @@ www.my-app.com/users/*
{
"views": [
{
"pattern": "https://www.my-app.com/users/:name"
"pattern": "www.my-app.com/users/:name"
}
]
}
Expand Down Expand Up @@ -123,7 +123,7 @@ www.my-app.com/users/:name
{
"views": [
{
"pattern": "https://www.my-app.com/analytics/:type/:id",
"pattern": "www.my-app.com/analytics/:type/:id",
"groupBy": ["type"]
}
]
Expand Down Expand Up @@ -156,7 +156,7 @@ www.my-app.com/analytics/usage/:id
{
"views": [
{
"pattern": "https://www.my-app.com/home?*status=:status{&*}?#*",
"pattern": "www.my-app.com/home?*status=:status{&*}?#*",
"groupBy": ["status"]
}
]
Expand Down