def METHOD_NAME(flask_client):
    # Create user
    user = login(flask_client)
    # Check start state
    assert len(Alias.filter_by(user_id=user.id).all()) == 1  # Onboarding alias
    domain = random_domain()
    # Create domain
    CustomDomain.create(user_id=user.id, domain=domain, ownership_verified=True)
    Session.commit()
    alias_data = [
        "alias,note",
        f"ebay@{domain},Used on eBay",
        f'facebook@{domain},"Used on Facebook, Instagram."',
    ]
    file = File.create(path=f"/{random_token()}", commit=True)
    batch_import = BatchImport.create(user_id=user.id, file_id=file.id)
    import_from_csv(batch_import, user, alias_data)
    assert len(Alias.filter_by(user_id=user.id).all()) == 3  # +2