Skip to content

Commit

Permalink
Remove unnecessary headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jBorkowska committed Dec 3, 2024
1 parent e62a07e commit fb95cde
Show file tree
Hide file tree
Showing 30 changed files with 157 additions and 57 deletions.
154 changes: 153 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
"title": "Documentation",
"href": "/documentation"
},
{
"id": "cli",
"title": "CLI commands",
"href": "/cli-commands/develop"
},
{
"id": "patrol api ref",
"title": "Patrol API reference",
Expand All @@ -53,6 +58,14 @@
{
"title": "Getting started",
"href": "/overview/getting-started"
},
{
"title": "Improved logging and reporting is here!",
"href": "logs-announcement"
},
{
"title": "LeanCode",
"href": "https://leancode.co"
}
]
},
Expand All @@ -66,7 +79,7 @@
},
{
"title": "Write your first test",
"href": "google.com"
"href": "/documentation/write-your-first-test"
},
{
"title": "Logs and test results",
Expand All @@ -81,6 +94,145 @@
"href": "/documentation/compatibility-table"
}
]
},
{
"group": "Advanced",
"tab": "documentation",
"pages": [
{
"group": "Finders",
"pages": [
{
"title": "Overview",
"href": "/finders/overview"
},
{
"title": "Usage",
"href": "/finders/usage"
},
{
"title": "Advanced",
"href": "/finders/advanced"
},
{
"title": "Using Patrol finders in widget tests",
"href": "/finders/finders-setup"
}
]
},
{
"group": "Native automation",
"pages": [
{
"title": "Overview",
"href": "/native/overview"
},
{
"title": "Usage",
"href": "/native/usage"
},
{
"title": "Advanced",
"href": "/native/advanced"
},
{
"title": "Feature parity",
"href": "/native/feature-parity"
}
]
},
{
"group": "Patrol and CI",
"pages": [
{
"title": "Overview",
"href": "/ci/overview"
},
{
"title": "Platforms",
"href": "/ci/platforms"
},
{
"title": "Firebase Test Lab",
"href": "/ci/firebase-test-lab"
}
]
},
{
"group": "Integrations",
"pages": [
{
"title": "Allure",
"href": "/integrations/allure"
},
{
"title": "Browserstack",
"href": "/integrations/browserstack"
}
]
},
{
"group": "Other",
"pages": [
{
"title": "Effective Patrol",
"href": "/effective-patrol"
},
{
"title": "Tips and tricks",
"href": "/tips-and-tricks"
},
{
"title": "Debugging Patrol tests",
"href": "/debugging-patrol-tests"
}
]
}
]
},
{
"group": "CLI commands",
"tab": "cli",
"pages": [
{
"title": "develop",
"href": "/cli-commands/develop"
},
{
"title": "test",
"href": "/cli-commands/test"
},
{
"title": "build",
"href": "/cli-commands/build"
},
{
"title": "doctor",
"href": "/cli-commands/doctor"
},
{
"title": "update",
"href": "/cli-commands/update"
},
{
"title": "devices",
"href": "/cli-commands/devices"
}
]
},
{
"group": "Announcements",
"tab": "root",
"pages": [
{
"title": "Patrol 3.0 is here!",
"href": "/v3"
},
{
"title": "New package - patrol_finders",
"href": "/patrol-finders-release"
}
]
}
]
}
2 changes: 0 additions & 2 deletions docs/ci/firebase-test-lab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: CI - Firebase Test Lab
---

# Firebase Test Lab

There are many device lab providers. Below we're showing how to run Patrol tests
on [Firebase Test Lab], because it's popular in the Flutter community, but the
instructions should be similar for other device farms, such as [AWS Device
Expand Down
2 changes: 0 additions & 2 deletions docs/ci/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: CI - Overview
---

# Continuous Integration

This section of the documentation is focused on running Patrol tests as part of
your Continuous Integration workflows.

Expand Down
2 changes: 0 additions & 2 deletions docs/cli-commands/build.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Commands - build
---

# build

### Synopsis

Build app binaries for integration testing.
Expand Down
2 changes: 0 additions & 2 deletions docs/cli-commands/develop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Commands - develop
---

# develop

### Synopsis

Develop integration tests with Hot Restart.
Expand Down
2 changes: 0 additions & 2 deletions docs/cli-commands/devices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Commands - devices
---

# devices

### Synopsis

List attached devices, simulators and emulators
Expand Down
2 changes: 0 additions & 2 deletions docs/cli-commands/doctor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Commands - doctor
---

# doctor

### Synopsis

Show information about installed tooling.
Expand Down
2 changes: 0 additions & 2 deletions docs/cli-commands/test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Commands - test
---

# test

### Synopsis

Run integration tests.
Expand Down
2 changes: 0 additions & 2 deletions docs/cli-commands/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Commands - update
---

# update

### Synopsis

Update Patrol CLI to the latest version.
Expand Down
2 changes: 0 additions & 2 deletions docs/documentation/compatibility-table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Compatibility table
---

# Compatibility table

The following table describes which versions of `patrol`
and `patrol_cli` are compatible with each other.
The simplest way to ensure that both packages are compatible
Expand Down
4 changes: 1 addition & 3 deletions docs/documentation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Getting started
---

# Getting started

Check out our video version of this tutorial on YouTube!

<YouTube id="zwQB8LfnTN8" />
Expand Down Expand Up @@ -68,7 +66,7 @@ Patrol UI tests. It is necessary to run UI tests (`flutter test` won't work! [He
1. Install `patrol_cli` executable:

```
dart pub global activate patrol_cli
flutter pub global activate patrol_cli
```

<Info>
Expand Down
2 changes: 0 additions & 2 deletions docs/documentation/logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Logs and test results
---

# Logs and test results

Once you've written and executed your tests, it's essential to monitor their results. Patrol provides two main methods for reporting test outcomes: **console logs** and **native test reports**.

## Logging test steps
Expand Down
2 changes: 0 additions & 2 deletions docs/documentation/supported-platforms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Supported platforms
---

# Supported platforms

Patrol works on:

- Android 5.0 (API 21) and newer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Write your first test
---

# Write your first test

Patrol is a powerful, open-source testing framework created by LeanCode that enhances Flutter's testing capabilities by enabling interaction with native platform features directly in Dart. It allows to handle permission dialogs, notifications, WebViews, and device settings—features previously unavailable in standard Flutter tests, making it truly possible to test the whole app.

This tutorial will take you through writing your first substantial Patrol test, interacting both with the Flutter app itself and also with native permission dialogs and notifications.
Expand Down
2 changes: 0 additions & 2 deletions docs/effective-patrol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Effective Patrol
---

# Effective Patrol

Over the past months, we've written many Patrol tests and often learned the hard
way what works well and what doesn't. We're sharing our findings hoping that
they'll help you write robust tests.
Expand Down
2 changes: 0 additions & 2 deletions docs/finders/advanced.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Patrol finders - advanced
---

# Advanced

We aim to make Patrol as simple as possible, but there are still a few matters
that we feel require some more attention. We'll explain them in this section.

Expand Down
2 changes: 0 additions & 2 deletions docs/finders/finders-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Using Patrol finders in widget tests
---

# Using Patrol finders in widget tests

Since `patrol_finders` is a separate package, referenced in `patrol` package,
you can use it in your widget or golden tests, without depending on `patrol`.
Below you can find a short tutorial on how to use `$` in already existing widget tests.
Expand Down
2 changes: 0 additions & 2 deletions docs/finders/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Patrol finders - overview
---

# Custom finders overview

Flutter's finders are powerful, but not very intuitive to use.

We took them and made something awesome.
Expand Down
2 changes: 0 additions & 2 deletions docs/finders/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Patrol finders - usage
---

# Usage

This page introduces Patrol finder system. Let's get our hands dirty
and find some widgets!

Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/allure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Integrations - allure
---

# Allure overview
## Overview

If you're using [Allure] to report your test results, you can use the
alternative test runner to get more detailed test report.
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/browserstack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Integrations - Browserstack
---

# Browserstack overview
## Overview

[Browserstack App Automate] is a popular cloud device farm.

Expand Down
2 changes: 0 additions & 2 deletions docs/logs-announcement.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Improved logging and reporting is here!
---

# Big Update: Enhanced Logging and Test Reporting!

We’ve made some major improvements to how you can monitor and analyze your tests! With Patrol 3.13.0 and later, you’ll get:

- Verbose logging: Test names are now displayed in real time as they’re executed!
Expand Down
2 changes: 0 additions & 2 deletions docs/native/advanced.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Native automation - advanced
---

# Advanced

### Patrol section in `pubspec.yaml`

If your app has different name on iOS and Android, you can specify `app_name`
Expand Down
2 changes: 0 additions & 2 deletions docs/native/feature-parity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Native feature's parity
---

# Feature parity

Here you can see what you can already do with Patrol, and what is yet to be
implemented. We hope that it will help you evaluate Patrol.

Expand Down
Loading

0 comments on commit fb95cde

Please sign in to comment.