import XCTest

class TVHomeActionsShare:XCTestCase
{
    override func setUp()
    {
        super.setUp()
        continueAfterFailure = false
        XCUIApplication().launch()
    }
}

import XCTest

class TVHomeActionsShare:XCTestCase
{
    override func setUp()
    {
        super.setUp()
        continueAfterFailure = false
        XCUIApplication().launch()
    }
    
    func testShareSheetAppears()
    {
        let app:XCUIApplication = XCUIApplication()
        
        XCTAssertFalse(
            app.sheets["Share"].exists,
            "sheet should be nil")
        
        app.buttons["VHomeActionsShare_button"].tap()
        
        XCTAssertTrue(
            app.sheets["Share"].exists,
            "sheet should appear")
    }
}

Create test for share to appear
Create test for share to appear
